http_upload example

Do you have a question? Post it now! No Registration Necessary.  Now with pictures!

Threaded View
The example that come with upload.php in the HTTP_upload package
creaqtes the follow html:
<form action="/public/reenie/t/t.php?submit=1" method="post"
    Send these files:<br>
   <input type="hidden" name="MAX_FILE_SIZE" value="100000">

    <input name="userfile" type="file"> &lt;-<br>
    <input name="otherfile[]" type="file"><br>
    <input name="otherfile[]" type="file"><br>
    <input type="submit" value="Send files">

When I try to use it, I choose a file and then I click "sned files".
Nothing happens. The file does not get sent anywhere. Where is it
supposed to be sent ? Theres nothing anywhere about which directory the
file is supposed to be sent to, as far as I can see, so the example
makes no sense to me.


Re: http_upload example

*** red escribió/wrote (Mon, 06 Sep 2004 22:05:49 GMT):
Quoted text here. Click to load it

The code you copied takes care of sending the file. You must have a script
somewhere in the server to deal with receiving it. All you need is inside
the $_FILES variable. Print its values with print_r() and you'll see it

-+ Álvaro G. Vicario - Burgos, Spain
+- (la web de humor barnizada para la intemperie)
++ Las dudas informáticas recibidas por correo irán directas a la papelera
-+ I'm not a free help desk, please don't e-mail me your questions

Re: http_upload example

Alvaro G. Vicario wrote:
Quoted text here. Click to load it

Yep, that splains it. Thanx. I finally got http_upload to work.

Site Timeline