Thread: Image Uploading
View Single Post
Old 10-16-2008, 03:32 PM   #3 (permalink)
Wildhoney
La Vida es Sueño
Advanced Programmer Top Contributor 
 
Wildhoney's Avatar
 
Join Date: Sep 2007
Location: Oldham
Posts: 2,280
Thanks: 90
Wildhoney is on a distinguished road
Default

Here you go guys. A nice simplified example for you both. You don't have to check the extension, but it's most certainly advisable, so I've added it in for you. Simply add the extensions to the array and voila!

Any explanations needed, just ask ! Ensure you create the "uploads" folder, else the script will fail -- gracefully, of course.
Attached Files
File Type: php Image-Upload.php (1.4 KB, 198 views)
__________________
The man who comes back through the Door in the Wall will never be quite the same as the man who went out.
Send a message via AIM to Wildhoney Send a message via MSN to Wildhoney Send a message via Yahoo to Wildhoney
Wildhoney is offline  
Reply With Quote
The Following User Says Thank You to Wildhoney For This Useful Post:
code_junkie (10-16-2008)