upload remote file ? [basic stuff]

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
User avatar
spamyboy
Forum Contributor
Posts: 266
Joined: Sun Nov 06, 2005 11:29 am
Location: Lithuania, vilnius

upload remote file ? [basic stuff]

Post by spamyboy »

How can I basicly upload remote image, for example devndetwork logo with PHP script (e.g. templates/subSilver/images/logo_phpBB.gif )
User avatar
xpgeek
Forum Contributor
Posts: 146
Joined: Mon May 22, 2006 1:45 am
Location: Kyiv, Ukraine
Contact:

Post by xpgeek »

You have to use file functions, such as:
fopen or file_get_contents.
User avatar
spamyboy
Forum Contributor
Posts: 266
Joined: Sun Nov 06, 2005 11:29 am
Location: Lithuania, vilnius

Post by spamyboy »

off-topic:
Hey, I'm just back from Ukraine, Kyiv, you have beutiful nature there :)
User avatar
xpgeek
Forum Contributor
Posts: 146
Joined: Mon May 22, 2006 1:45 am
Location: Kyiv, Ukraine
Contact:

Post by xpgeek »

spamyboy wrote:off-topic:
Hey, I'm just back from Ukraine, Kyiv, you have beutiful nature there :)
Thank You!
Post Reply