#1
  1. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Oct 1999
    Location
    Scotland
    Posts
    6
    Rep Power
    0
    When I do a getenv on an array like HTTP_COOKIE_VARS I get nothing back.
    How can I make sure I am getting the right cookie value back if I can't use getenv? Or maybe I'm just missing something entirely.

    "Do not allow yourself to be programmed"
  2. #2
  3. No Profile Picture
    Apprentice Deity
    Devshed Loyal (3000 - 3499 posts)

    Join Date
    Jul 1999
    Location
    Niagara Falls (On the wrong side of the gorge)
    Posts
    3,237
    Rep Power
    19
    HTTP_COOKIE_VARS is not an environmental variable. getenv() will not get you anything when used with it.

    You can use each() to get a list of keys from the array, which is the names of the variables stored in the cookie.
  4. #3
  5. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Oct 1999
    Location
    Scotland
    Posts
    6
    Rep Power
    0
    Cheers rod.

Similar Threads

  1. giving the array matrix a variable?
    By andy3109 in forum C Programming
    Replies: 33
    Last Post: March 9th, 2005, 06:43 AM
  2. array containing arrays pointer incrementing?
    By balance in forum C Programming
    Replies: 17
    Last Post: May 27th, 2003, 06:43 AM
  3. Recursively implode arrays to a string
    By pther in forum PHP Development
    Replies: 2
    Last Post: February 11th, 2003, 09:18 AM
  4. Converting arrays from flash, into text files?
    By frankbutcher28 in forum PHP Development
    Replies: 1
    Last Post: March 25th, 2002, 10:15 AM
  5. comparing arrays
    By NoXcuz in forum PHP Development
    Replies: 11
    Last Post: November 25th, 2001, 01:26 PM

IMN logo majestic logo threadwatch logo seochat tools logo