+ Reply to Thread
Results 1 to 8 of 8

Thread: A Problem with Apache + PHP

  1. #1

    A Problem with Apache + PHP

    I've installed Apache server (2.0.48) and PHP (4.3.4) and I've encountered this problem when trying to get variables from the address bar (don't know any other way to describe it).

    for example:


    it can't get the id variable from there. i don't know if the problem is with apache settings or php.ini.

    thanks in advance.

  2. #2
    Web Junky Matt is on a distinguished road
    Join Date
    Dec 2003
    Check out phptriad:


    It has Apache, MySQL, and PHP. (Really easy to install, a few clicks and its all setup)

    Hope this helps
    WebmasterLingo.com Team
    Forum Rules

    "Anyone who has never made a mistake has never tried anything new" - Albert Einstein

  3. #3
    Full Member dzone is on a distinguished road
    Join Date
    Dec 2003

    I know what causes this problem. It's the high security settings in PHP's configuration file.

    Check out register_globals value in php.ini. If you want all your variables to be globalized turn it on and I think that your problem will go away.

    Nevertheless, I would recommend you to learn the secure PHP programming (with register_globals = 0). There is no much things to do... Just get your GET vars from the superglobals like $_GET["id"], POST vars as $_POST["id"] and so on...

    Hope that helps,
    [URL=http://www.dedicatedzone.com]Managed Dedicated Servers[\URL]

  4. #4
    ok, thanks for the help

  5. #5
    Full Member dzone is on a distinguished road
    Join Date
    Dec 2003
    IMHO, use Apache 1.3.x.x...
    2.x.x.x doesn't goes well with PHP.
    Huh, somebody should test the 2.x.x branch otherwise it would never became as stable as 1.3.x, right? But yes, for production purpose Apache 1.3.x is better at the moment IMO.
    [URL=http://www.dedicatedzone.com]Managed Dedicated Servers[\URL]

  6. #6
    ok, good to know. i've always used the latest and greatest, but seems like the latest isn't always the greatest. :P

  7. #7
    Full Member jingles is on a distinguished road
    Join Date
    Feb 2010
    yes you said correctly, i agree that latest is best but not for Captcha. i like PHP language, It is very interesting.

  8. #8
    Full Member BrantQE is on a distinguished road
    Join Date
    Aug 2012

    hey everyone

    simply dropping by to say hi

+ Reply to Thread

Thread Information

Users Browsing this Thread

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


Posting Permissions

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