Re: file upload problem

From: Date: Sat, 23 Aug 2003 19:46:52 +0000
Subject: Re: file upload problem
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-160538@lists.php.net to get a copy of this message
Hi, > echo "<form action = '". $_SERVER["PHP_SELF"]."' method = > 'GET' enctype > = 'multipart/form-data'>\n"; I think that the methos should be POST not GET Second, you may want to save the file first with, move_uploaded_file (see http://de.php.net/manual/en/function.move-uploaded-file.php), then you will be able to see it. Of course you will first check it's in order to save it. Third: it might be a good idea to check your php.ini and see if you allow file uploads and also the httpd.conf cheers, Catalin

« previous php.general (#160538) next »