Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

File Upload in PHP4 1

Status
Not open for further replies.

steijssen

Programmer
Mar 25, 2001
92
BE
Hello, can anyone please help me out with the following? I have to create a PHP4 page which enabled users to upload 3 JPEG files (named pic1,pic2,pic3). Each of the files should be size-checked. They shouldn't be any bigger than 25Kb. I've been searching the net for it, but without any good results. Who can help me out?
 
PHP.net had a pretty good description of file uploads in their manual.

That page shows you how to constuct a HTML form to allow users to upload files to a php script. After the form (with the files) have been uploaded to the script, you then want to use move_uploaded_file() function to move the files to their final destination.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top