[PHP-DEV] Bug #10307 Updated: PHP refusing to get temporary file name from an HTTP PUT request.
ID: 10307 User Update by: [EMAIL PROTECTED] Old-Status: Feedback Status: Open Bug Type: HTTP related Operating system: freebsd 4.2 PHP Version: 4.0.4pl1 Description: PHP refusing to get temporary file name from an HTTP PUT request. This is a copy of all the versions we tried, none of them worked in the slightest. ?php // copy($PHP_PUT_FILENAME,$DOCUMENT_ROOT.$REQUEST_URI); $fp = fopen(/home/vhosts/farelist.com/www/update/log.txt,w+); if(!copy ($PHP_PUT_FILENAME, /home/vhosts/farelist.com/www/update/test.txt)) { fwrite($fp, \n\ncopy failed\n\n); } else { fwrite($fp, \n\ncopy successful\n\n); } $temp=PHP_PUT_FILENAME: $PHP_PUT_FILENAME\n; $vars = get_defined_vars(); foreach ($vars as $test = $value) { if (is_array($value)) { foreach ($value as $subtest = $subvalue) { $temp .= $subtest: $subvalue\n; } } else { $temp .= $test: $value\n; } } fwrite($fp, $temp); $temp=DOCUMENT_ROOT: $DOCUMENT_ROOT\n; fwrite($fp, $temp); $temp=REQUEST_URI: $REQUEST_URI\n; fwrite($fp, $temp); fclose($fp); ? Previous Comments: --- [2001-05-19 12:14:51] [EMAIL PROTECTED] perhaps you can add a sample script for other to reproduce the misbehaviour. --- [2001-04-12 13:17:57] [EMAIL PROTECTED] I am using PHP 4.04pl1 on a FreeBSD 4.2 based system with Apache 1.3.19. I have a page that is accepting HTTP PUT requests and is supposed to save the file in a designated area, however PHP is not picking up the temporary filename while the script runs. All other variables required are set, but not $PHP_PUT_FILENAME. I have tried all recommendations in the docs, mailing list and IRC channels. None have worked. I do notice that the protocol level is HTTP 1.0 PUT not HTTP 1.1 PUT, I have not been able to determine if that is the issue. --- Full Bug description available at: http://bugs.php.net/?id=10307 -- PHP Development Mailing List http://www.php.net/ To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP-DEV] Bug #10307 Updated: PHP refusing to get temporary file name from an HTTP PUT request.
ID: 10307 Updated by: jan Reported By: [EMAIL PROTECTED] Status: Open Bug Type: HTTP related Operating system: PHP Version: 4.0.4pl1 Assigned To: Comments: perhaps you can add a sample script for other to reproduce the misbehaviour. Previous Comments: --- [2001-04-12 13:17:57] [EMAIL PROTECTED] I am using PHP 4.04pl1 on a FreeBSD 4.2 based system with Apache 1.3.19. I have a page that is accepting HTTP PUT requests and is supposed to save the file in a designated area, however PHP is not picking up the temporary filename while the script runs. All other variables required are set, but not $PHP_PUT_FILENAME. I have tried all recommendations in the docs, mailing list and IRC channels. None have worked. I do notice that the protocol level is HTTP 1.0 PUT not HTTP 1.1 PUT, I have not been able to determine if that is the issue. --- ATTENTION! Do NOT reply to this email! To reply, use the web interface found at http://bugs.php.net/?id=10307edit=2 -- PHP Development Mailing List http://www.php.net/ To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP-DEV] Bug #10307 Updated: PHP refusing to get temporary file name from an HTTP PUT request.
ID: 10307 Updated by: sniper Reported By: [EMAIL PROTECTED] Old-Status: Open Status: Feedback Bug Type: HTTP related Operating system: PHP Version: 4.0.4pl1 Assigned To: Comments: Previous Comments: --- [2001-04-12 13:17:57] [EMAIL PROTECTED] I am using PHP 4.04pl1 on a FreeBSD 4.2 based system with Apache 1.3.19. I have a page that is accepting HTTP PUT requests and is supposed to save the file in a designated area, however PHP is not picking up the temporary filename while the script runs. All other variables required are set, but not $PHP_PUT_FILENAME. I have tried all recommendations in the docs, mailing list and IRC channels. None have worked. I do notice that the protocol level is HTTP 1.0 PUT not HTTP 1.1 PUT, I have not been able to determine if that is the issue. --- ATTENTION! Do NOT reply to this email! To reply, use the web interface found at http://bugs.php.net/?id=10307edit=2 -- PHP Development Mailing List http://www.php.net/ To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]