php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #5516 $REMOTE_USER disappears when posting to a protected form
Submitted: 2000-07-11 15:18 UTC Modified: 2000-08-18 21:50 UTC
From: matslin-php at orakel dot ntnu dot no Assigned:
Status: Closed Package: Misbehaving function
PHP Version: 4.0 Latest CVS (11/07/2000) OS: Linux
Private report: No CVE-ID: None
 [2000-07-11 15:18 UTC] matslin-php at orakel dot ntnu dot no
<?php
  print ("remuser: $REMOTE_USER<br><br>");
?>
<form action=<?php print($PHP_SELF); ?> method=post>
<input type=submit value='test'>
</form>

$REMOTE_USER is set the first time - but when posting - it's unset.

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-07-27 21:55 UTC] zak@php.net
Have you tried a recent release? If so, does the problem still occur?
 [2000-08-18 21:50 UTC] sniper@php.net
Change this <LIMIT get> to <LIMIT get post>.

--Jani

 [2002-03-13 19:30 UTC] c dot lex at deepweb dot de
Hi,
even if I changed <LIMIT get> to <LIMIT get post> the bug still remained. I use PHP 4.0
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sun Apr 28 08:01:29 2024 UTC