php : get file content and store file in particular folder

Posted by Sanjay on Stack Overflow See other posts from Stack Overflow or by Sanjay
Published on 2010-04-28T11:55:49Z Indexed on 2010/04/28 12:03 UTC
Read the original article Hit count: 222

Filed under:
|
|

hi ,

i am getting file content from file_get_content funtion in php. and want to store that file in particular folder.

how could i store that file in particular folder.

$image = file_get_contents('http://www.affiliatewindow.com/logos/1961/logo.gif');

i want to save this image in particular folder.

any idea abt it?

© Stack Overflow or respective owner

Related posts about php

Related posts about file