Uploading file to php

From: Date: Fri, 18 Jan 2002 21:02:31 +0000
Subject: Uploading file to php
Groups: php.general 
Request: Send a blank email to php-general+get-81150@lists.php.net to get a copy of this message
Hi, I followed the examples in the FAQ and was able to make the upload work, using client HTML code similar to this: <FORM NAME="the_form" ENCTYPE="multipart/form-data" METHOD=POST ACTION="somephp.php"> File Name: <INPUT NAME="filename" TYPE="file"> <INPUT TYPE="submit" VALUE="submit"> </FORM> The problem is that it works great with Netscape, but fails with IE. If the client is Netscape, the "somephp.php" program gets the $filename= /tmp/phpmo4QE9 and $filename_name=BackB.gif (or whatever) When the client is IE (I tried V5.5 and 6.0) I get $filename=F:\\disk_e\\Butter\\BackB.gif and $filename_name (etc) are empty. Has anyone else run into this? Any suggestions as to how I can further debug this? Thanks, Mike at nutfield.net

« previous php.general (#81150) next »