ID: 24753
Updated by: [EMAIL PROTECTED]
Reported By: robin at newloop dot com
-Status: Open
+Status: Feedback
Bug Type: HTTP related
Operating System: Win XP Pro 2002 SP1
PHP Version: 4.3.2
New Comment:
Try to make a simple script just to see if the bug is particular to the
script you are using or any POST request. I find it extremely unusual
that _POST contains correct data while _REQUEST does not, since
_REQUEST is built using data from _POST.
Previous Comments:
------------------------------------------------------------------------
[2003-07-22 12:33:30] robin at newloop dot com
no, still open. That Doh! was for something else.
There is still a problem with the last POST variable
requested missing it's last character.
I could, of course just add an extra character, or
dummy variable, but I'd rather know if I'm working
around a feature or a bug, or if I'm simply doing
something wrong?
------------------------------------------------------------------------
[2003-07-22 12:24:40] [EMAIL PROTECTED]
Bogus then :)
------------------------------------------------------------------------
[2003-07-22 12:10:01] robin at newloop dot com
again, big thanks!
register globals is Off
Worked out the space thing. Doh!
had a line specifically adding it:
$fileData = " ";
------------------------------------------------------------------------
[2003-07-22 11:50:16] [EMAIL PROTECTED]
<?php
var_dump(ini_get("register_globabls"));
?>
Will tell you if you have register_globals enabled.
As for the space, make sure you have no spaces before the <?php (or <?)
in your script.
------------------------------------------------------------------------
[2003-07-22 11:47:05] robin at newloop dot com
thanks for your help on this;
1) I am using it as CGI already.
2) The first charater is present and correct. I am
getting an un-asked-for " " at the beginning of my
file, though.
3) Not sure about this. I haven't been using PHP for
very long. how can I check for it?
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
http://bugs.php.net/24753
--
Edit this bug report at http://bugs.php.net/?id=24753&edit=1