file upload problem

From: Date: Sat, 23 Aug 2003 18:16:48 +0000
Subject: file upload problem
Groups: php.general 
Request: Send a blank email to php-general+get-160521@lists.php.net to get a copy of this message
Hi , I try to upload a file with such an input type = 'file' field. My form looks like: echo "<form action = '". $_SERVER["PHP_SELF"]."' method = 'GET' enctype = 'multipart/form-data'>\n"; ... echo "<td><input type = 'file' name = 'newtextupload' accept='text/*'></td>\n"; ... echo "<td><input type = 'submit' name = 'submit' value = '&auml;ndern'></td>\n"; echo "</form>\n"; After submition, I can't find the file on the server. Nowhere. In php.ini, I have /tmp as upload-directory. I'm using apache2 on linux. Can somebody tell me why the file is not uploaded? Thx for answering SvT -- Who is the ennemy?

« previous php.general (#160521) next »