Results 1 to 2 of 2

Thread: IcePHP Ice_loadProfile() function returns global variable instead of value

  1. #1
    Richard15243 is offline Registered User
    Name: Richard Rowe
    Organization: Personal
    Project: Interface for Mumble (which uses ICE)
    Join Date
    Aug 2009
    Posts
    1

    IcePHP Ice_loadProfile() function returns global variable instead of value

    Hi,

    Although not neccessarily a bug, it's a bad practice. The Ice_loadProfile(); function for the IcePHP extension returns a global variable $ICE instead of a value.

    At the moment I'm just wrapping it wrapping the global behind an object.

    PHP 4 has reached end-of-life (including security patches) since August 2008. I'd be good to see this updated.

    Any help / thoughts on this would be greatly appreciated.

    Richard
    Last edited by Richard15243; 08-13-2009 at 01:11 PM.

  2. #2
    mes's Avatar
    mes
    mes is offline ZeroC Staff
    Name: Mark Spruiell
    Organization: ZeroC, Inc.
    Project: Ice Developer
    Join Date
    Feb 2003
    Location
    California
    Posts
    1,441
    Hi Richard,

    I'm afraid I don't understand the problem. The Ice_loadProfile function always returns null.

    Regards,
    Mark

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. PHP global $ICE variable not always defined
    By panthaloon in forum Help Center
    Replies: 0
    Last Post: 02-22-2010, 02:29 PM
  2. Replies: 2
    Last Post: 02-18-2010, 12:46 PM
  3. global variable and thread issue in ice
    By solikhin in forum Help Center
    Replies: 3
    Last Post: 07-12-2007, 04:13 AM
  4. Replies: 9
    Last Post: 07-14-2006, 11:30 AM
  5. Ice_loadProfile problem
    By jacopo in forum Help Center
    Replies: 1
    Last Post: 05-03-2005, 01:05 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •