ID: 19893
Comment by: [EMAIL PROTECTED]
Reported By: [EMAIL PROTECTED]
Status: Feedback
Bug Type: Scripting Engine problem
Operating System: WIndows ME
PHP Version: 4.2.3
New Comment:
Is this just I typo in your bug report or is this copied and pasted
from your actual file?
<form action=<?php
echo($_SERVER('PHP_SELF']); ?> method=post>
^
Should be:
<form action=<?php
echo($_SERVER['PHP_SELF']); ?> method=post>
Previous Comments:
------------------------------------------------------------------------
[2002-10-14 01:05:25] [EMAIL PROTECTED]
try it with a different client, like wget or cURL.
also, what does this script output?
<?php
error_reporting(E_ALL);
header("Content-Type: text/plain");
print_r($_SERVER['PHP_SELF']);
?>
------------------------------------------------------------------------
[2002-10-13 23:18:07] [EMAIL PROTECTED]
I sem to have this problem. I recently upgraded to PHP 4.2.3. Since it
has register_globals turned off, I went through and attempted to modify
my code to the new format. I seem to keep having this one problem
though.
When I view this in a browser(IE 5.5) <form action=<?php
echo($_SERVER('PHP_SELF']); ?> method=post> it will not give me any
output, no warnings, no errors, nothing. When I isolated just this
piece of code, and put it in a seperate document, it should have had
the output of
<form action=mypage.php method=post>, but for some reason it would not
parse it. I have no clue why this is happening. Is it a bug, or am I
just stupid?
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=19893&edit=1