The 5th Annual China PHP Conference

Voting

Please answer this simple SPAM challenge: seven minus three?
(Example: nine)

The Note You're Voting On

josh,endquote,com
13 years ago
Running PHP 4.3 under IIS 5 on Windows XP, there is no $_SERVER['REQUEST_URI'] variable. This seems to fix it:

if(!isset($_SERVER['REQUEST_URI'])) {
    $_SERVER['REQUEST_URI'] = substr($_SERVER['argv'][0], strpos($_SERVER['argv'][0], ';') + 1);
}

<< Back to user notes page

To Top