ID:               20725
 Updated by:       [EMAIL PROTECTED]
 Reported By:      [EMAIL PROTECTED]
 Status:           Feedback
 Bug Type:         Scripting Engine problem
 Operating System: BSD/OS 4.2
 PHP Version:      4.3.0RC2
 New Comment:

I can't replicate either, and I set upload_tmp_dir to something that
doesn't exist.  But anyway can you separate the dump of $_POST and
$_REQUEST so we know which one at least exists? And can you explain
what display_startup_errors affect is on this exactly?  And does it
matter if upload_tmp_dir is set?  Don't see why it would.  Anyway,
please do more tests and try to see if you can get it to work :)


Previous Comments:
------------------------------------------------------------------------

[2002-12-05 01:08:51] [EMAIL PROTECTED]

Please try using this CVS snapshot:

  http://snaps.php.net/php4-latest.tar.gz
 
For Windows:
 
  http://snaps.php.net/win32/php4-win32-latest.zip

I've been unable to replicate this problem using latest CVS of 
4.3.0-dev/4.4.0-dev. Please try a later version and report back, there
is nothing in the code to cause the behaviour you've described.

------------------------------------------------------------------------

[2002-11-29 08:12:54] [EMAIL PROTECTED]

Stumbled upon this, in a chrooted environment.

No php.ini (so default settings). No /tmp and /var/tmp or make
upload_tmp_dir not writeable for the webserver.

display_errors On
error_reporting 'no value' (E_ALL ^ E_NOTICE)

$_REQUEST/_POST are not populated.

Only when setting display_startup_errors to 'On', one gets a clue, what
is going on.

Example:
<form action="<?php echo $_SERVER['PHP_SELF'];?>" method="POST"
enctype="multipart/form-data">
<input type="hidden" name="this_var_should_be_set" value="foo" />
<input type="file" name="userfile" />
<input type="submit" value="test" />
</form>
<pre>
<?php
var_dump($_REQUEST, $_POST);
?>
</pre>

output:
array(0){
}

------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=20725&edit=1

Reply via email to