| Welcome to WebmasterWorld Guest from 22.214.171.124 |
register, login, search, subscribe, help, library, PubCon, announcements, recent posts, open posts,
|Subscribe to WebmasterWorld|
|Copying Image via PHP|
From URL not Local File
| 5:41 pm on Oct 27, 2007 (gmt 0)|
I was curious if this is possible. I would like users to enter a url of an image and for a php script to copy the image to a local folder on my site.
Is this possible?
Thanks in advance for your help!
| 5:00 am on Oct 28, 2007 (gmt 0)|
|I would like users to enter a url of an image and for a php script to copy the image to a local folder on my site. |
You can use the copy function of PHP to do the task for you:
Refer the manual [php.net] for further details.
All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
WebmasterWorld ® and PubCon ® are a Registered Trademarks of Pubcon Inc.
© Pubcon Inc. 1996-2012 all rights reserved