Skip to content

PHP_SELF is always set to page_runner.php #11

@stvcisco

Description

@stvcisco

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).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions