Known bugs with HTTP upload on Windows NT?

From: Date: Tue, 17 Jul 2001 04:21:25 +0000
Subject: Known bugs with HTTP upload on Windows NT?
Groups: php.general 
Request: Send a blank email to php-general+get-58176@lists.php.net to get a copy of this message
Hi All- I'm having trouble with a simple script that allows HTTP upload. It's a direct copy of the code available on the PHP web site. The script works fine on a UNIX machine running PHP 4.0.6 and a Windows 98 machine running 4.0.6. However when I test it on a Windows NT machine running PHP 4.0.6, as soon as the submit button is clicked it causes a page fault in php.exe. Is this a known issue? In php.ini, the temporary upload path is set to a correct location and no amount of tweaking this path makes any difference. The script looks like this: <?php if (is_uploaded_file($userfile)) { move_uploaded_file($userfile,"H:\\www\\uploadtest.txt"); echo "Done."; } ?> <FORM ENCTYPE="multipart/form-data" ACTION="uploadtest.php" METHOD="post"> <INPUT TYPE="hidden" name="MAX_FILE_SIZE" value="500000"> Send this file: <INPUT NAME="userfile" TYPE="file"> <INPUT TYPE="submit" VALUE="Send File"> </FORM> Regards, Adam Whitehead

« previous php.general (#58176) next »