On 08 Oct 2003 17:26:55 +0200
Ruprecht Helms <[EMAIL PROTECTED]> wrote:
> I've problems with a http-uploadscript. When I run the htmlfile and
> the script replies an output of the filename but I can't find the file
> in the destinationdirectory.
> Why this can happen. Addes you can see the html-file and the script
I was tempted to say RTFM section
("Handling file uploads" http://www.php.net/features.file-upload) as
this is mostly off topic for a php-db mail list. But you caught me on a
First, You must use the form POST method... If the method is not
specified, the browser will perform a GET request.. You really don't
want that, even if you could do it.
Change the form tag to read...
<form action="upload_http.php" method="post" enctype=
That resolves the html problem.
As for the php...
We also need the version of php that you are using as this has changed.
Example 18.2 is pretty good for the type of code you need.
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php