#1
  1. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jun 2000
    Posts
    2
    Rep Power
    0
    Newbie question: When I post an HTML form to a PHP script, none of the form variables contain data. Also, none of the global environemnt variables contain data. Parameters passed as part of the URL echo to the screen correctly though. What's the problem here?

    I'm running on a virtual server, so changes to php.ini or recompilation of php is probably not an option my host is going to appreciate.
  2. #2
  3. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Mar 2000
    Posts
    60
    Rep Power
    15
    Howdy,

    Post your code (both pages) so we can see where the problem might be. Usually when I run into a problem like this its a typo or a minor syntax problem.
  4. #3
  5. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jun 2000
    Posts
    2
    Rep Power
    0
    Thanks for your help, but I've sussed it. I did an environment variable dump using CGI and found that the server is configured strangely, e.g. HTTP_COOKIE_VARS are known as HTTP_COOKIE, and other wierd stuff. Anyway, I managed to translate it all and can now see my posted variables as well as global variables. Thanks again.

Similar Threads

  1. display multiple list box problem
    By ningyong in forum PHP Development
    Replies: 4
    Last Post: February 13th, 2004, 12:32 AM
  2. variable variables problem
    By gbow in forum PHP Development
    Replies: 5
    Last Post: February 10th, 2004, 11:04 AM
  3. problem handeling a dynamic variable
    By grungefade in forum PHP Development
    Replies: 0
    Last Post: February 9th, 2004, 11:34 AM
  4. PHP/Apache on Mac OS X (10.3.2) - variable problem
    By rockettemarimba in forum PHP Development
    Replies: 4
    Last Post: February 9th, 2004, 06:27 AM
  5. how to display the variable?
    By tommy916 in forum HTML Programming
    Replies: 1
    Last Post: January 26th, 2004, 11:59 PM

IMN logo majestic logo threadwatch logo seochat tools logo