Posted by Erwin Moller on 05/20/06 16:43
funkychicken818@gmail.com wrote:
> Hey well i need help i want to create a simple image downloading script
> where you insert the image URL and it will download it and place it on
> your server, and rename the image to some number. Any one have any
> ideas on how i can do this?
Hi,
Go to www.php.net and look up:
1) How to post and receive a formelement (using $_POST probably)
2) have a look at a function called fopen.
(It also handles http-requests if php is configured to do so.)
http://nl3.php.net/manual/en/function.fopen.php
3) Safe the content on your server somewhere under a name.
read more here:
http://nl3.php.net/manual/en/function.fwrite.php
Good luck
Regards,
Erwin Moller
[Back to original message]
|