upload files to my server through url(internet)
Started on the old forum in March 2009 · view the original in the archive · old links redirect here
search on the net for something called file snatcher, its probably shared and discussed here already, so use the search button 🙂
tinyurl.com/earnbymobile Easy earning for Indians
Alternative mobile advertising network .. Minimum 100 USD pay / NET15 pay cycle, Good Brand, Best targeting for Android goo.gl/6vub3
$url = 'http://site.com/image.png';
$content = file_get_contents($url);
$filename = end(explode('/',$url));
$fp = fopen('directory/image.png', 'w'); // chmod 777 the directory
fwrite($fp, $content);
fclose($fp);
Advertise your mobile site for FREE with AdTwirl
it will be uploaded to directory folder of ur server
$url = 'http://site.com/image.png';
$content = file_get_contents($url);
$filename = end(explode('/',$url));
$fp = fopen('directory/image.png', 'w');
fwrite($fp, $content);
fclose($fp);
You should change the chmod of the directory specified in the bracket ('directory/image') to 777
😉
Or try this http://coding-talk.com/attachment.php?attachmentid=973&stc=1&d=1237695764
🤨