View Single Post
Old 11-23-2004, 02:01 PM   #2 (permalink)
sde
Moderator
 
sde's Avatar
 
Join Date: May 2002
Location: us.ca
Posts: 4,544
sde is on a distinguished road
even though i hesitate to help someone who's excuse is meerely that they don't have time, i'll point you in the right direction. my time must not be as valuable as yours.

in short, there are 4 steps to this process.

1. add enctype="multipart/form-data" to your form tag.
2. add a file field <input type=file name=file>
3. after the form is submitted, use the $_FILES[] array to get your data. The temporary file for this example would be $_FILES['file']['tmp_name']
4. copy the temporary file to a directory which allows the web user to write to.

All the elements are here, .. now you just need to put them together.

Good Luck!
__________________
Mike
sde is offline   Reply With Quote