PHPerKaigi 2019


Please answer this simple SPAM challenge: max(one, four)?
(Example: nine)

The Note You're Voting On

15 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