I have php code that depends on the value of the current location using $_SERVER['PHP_SELF'] but it looks like no matter what page I'm on that value is set to this:
[PHP_SELF] => server/node_modules/php-express/lib/PHPExpress/../../page_runner.php
Is there a way to have the $_SERVER values set to reflect the requested url?
Also the $_SERVER['REQUEST_URI'] value is not set at all (otherwise I could use that instead).
I have php code that depends on the value of the current location using $_SERVER['PHP_SELF'] but it looks like no matter what page I'm on that value is set to this: [PHP_SELF] => server/node_modules/php-express/lib/PHPExpress/../../page_runner.php Is there a way to have the $_SERVER values set to reflect the requested url?
Also the $_SERVER['REQUEST_URI'] value is not set at all (otherwise I could use that instead).