I want to make a PHP script that let user browse image from their computer, then upload it to an image hosting server, and by image hosting server, I mean image hosting services like imageshack.us, photobucket, or blogger.com... I think there are four steps for this:
- Display upload form which let user browse image
- Upload image to my server
- Copy them to image hosting server (use my image hosting account)
- Get uploaded image link (from hosting server, not mine)
How ever, I only know what to do with the first and second step, I don't have any idea for the rest. Please give me some suggestion, what should I do to get step 3 and step 4 done, what function should I use, is it possible to have php just open the page and click the button I want to upload image, something like that. Thank you for any help!