Board index   FAQ   Search  
Register  Login
Board index php forum :: php coding PHP coding => Images

Upload Pic from an URL

images php coding issues or problems here.

Moderators: macek, egami, gesf

Upload Pic from an URL

Postby dhrubajyoti85 » Wed Jul 06, 2011 7:05 am

Hi,

I want to Upload a pic to my server from an url. Please let me know how do I do so...

-Regards
Dhruabjyoti
dhrubajyoti85
New php-forum User
New php-forum User
 
Posts: 2
Joined: Mon Jul 04, 2011 12:23 pm

Re: Upload Pic from an URL

Postby jorgepinho » Wed Jul 06, 2011 7:16 am

Hi,

You can use cURL to get the data, and then save it to a file using the GD lib.

I found an example code here:

http://forums.digitalpoint.com/showthread.php?t=371632

--
Jorge
Live Help on Skype: lets.talk.about.help
(english and portuguese)
jorgepinho
New php-forum User
New php-forum User
 
Posts: 101
Joined: Tue Jul 05, 2011 5:41 am
Location: Portugal


Return to PHP coding => Images

Who is online

Users browsing this forum: No registered users and 2 guests

Sponsored by Sitebuilder Web hosting and Traduzioni Italiano Rumeno and antispam for cPanel.

cron