when you are uploading files via a form, you must use the POST method.

Jim Lucas
----- Original Message ----- 
From: "Matthias Wulkow" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Saturday, August 23, 2003 11:16 AM
Subject: [PHP] file upload problem


> 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?
> 
> 
> -- 
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
> 
> 

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to