[prog] Getting Remote_User .htaccess (not working)
Almut Behrens
almut-behrens at gmx.net
Sat Nov 20 04:46:27 EST 2004
On Fri, Nov 19, 2004 at 04:18:05PM +1100, Gareth Anderson wrote:
> This works correctly:
> if (isset($_POST['csse']))
>
> BUT THIS IS WRONG:
>
> $_SERVER['REMOTE_USER']
>
> HOWEVER this is right
>
> $_SERVER[REMOTE_USER]
...kinda strange. This is exactly contrary to how things are supposed
to behave according to the PHP manual:
http://www.php.net/manual/en/language.types.array.php#language.types.array.donts
Might be worth filing a bug report, in case you're running a recent
version of PHP...
Almut
More information about the Programming
mailing list