Hi Dimitri,

> I'm new to this new PHP thing and man it's frusterating. Anyway, I'm not
> gonna tell you my life story, but I just need to know how to allow users
> to
> upload files to my server . I've already made a form with the <input
> name="whatever" type="file" and then a program that should get the
> varibles
> [name] and [tmp_name] using $_POST. For some reason it's not working.
> Could
> someone tell me how to do it, or what I'm doing wrong?


[Daniel Diehl] 
Take a look at http://www.php.net/manual/en/features.file-upload.php . I
think this will solve your problem. You have to set the enctype
"enctype="multipart/form-data"" in the form tag.


Greet,
Daniel

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

Reply via email to