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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: matslin-php at orakel dot ntnu dot no
New email:
PHP Version: OS:

 

 [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

Pull Requests

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-2025 The PHP Group
All rights reserved.
Last updated: Sat Jul 12 05:01:33 2025 UTC