SitePoint Sponsor

User Tag List

Results 1 to 3 of 3
  1. #1
    SitePoint Member
    Join Date
    May 2001
    Posts
    1
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Help me configure PHP to pass vars

    I'm trying to setup PHP 4.0.5 on a Mandrake 8.0. I've gotten it all working with Apache. I can pull up the info page with phpinfo(), however, when I try to pass a var with something like name.php?firstname=Mike, I cannot print out the var on the next page with echo($firstname);.

    I've set in php.ini register_globals=On, and then I've restarted apache, however, this hasn't made any difference.

  2. #2
    SitePoint Member
    Join Date
    Feb 2001
    Posts
    21
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Are you sure PHP is reading your configuration file? Run phpinfo() again and look at what the value of that setting is.
    Travis Burnside
    travis@qwk.net

    Free monitoring for your web site - http://www.qwkmon.com

  3. #3
    SitePoint Enthusiast
    Join Date
    May 2001
    Location
    Los Angeles, California
    Posts
    86
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    does it give u an error or just display nothing?
    www.iyeinteractive.com - Website Design and Programming
    www.totalnonsense.net - my site, Under Construction


Bookmarks

Posting Permissions

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