• I just managed to create user accounts of the form: Domain\Userid (note the backslash). I’m using external HTTP authentication which sets REMOTE_USER. When I print out $_SERVER['REMOTE_USER'] it prints out ‘Domain\\Userid’ (note the double-backslash) and thus WordPress doesn’t find the REMOTE_USER in the database? Is this modification being done by WordPress or PHP?

    Any tips are appreciated. Thanks

    -Carlos

Viewing 2 replies - 1 through 2 (of 2 total)
  • Create a file called “qwertyuio.php” and put this inside:

    <?php phpinfo(); ?>

    Save it in your webroot directory, access it via your browser and have a look at the output. That should tell you if WP is adding slashes or not.

    IMPORTANT: Remove the file when you’re finished looking at it.

    Create a file called “qwertyuio.php” (or some other obscure name) and put this inside:

    <?php phpinfo(); ?>

    Save it in your webroot directory, access it via your browser and have a look at the output. That should tell you if WP is adding slashes or not.

    IMPORTANT: remove the file when you’re finished looking at it.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘REMOTE_USER modified by WordPress/PHP?’ is closed to new replies.