Results 1 to 10 of 18
Threaded View
-
17th Aug 2011, 09:19 AM #1OPMemberWebsite's:
omin24.plImageZilla.net Curl remote upload
Hi !
I write this script :
Code:$img_url = "http://www.besthostingforums.com/images/logo.png"; //// Variable with image link $thsize = '300'; //aviable : 250,300,450,500 //[pixels] //Dont change $url = "http://imagezilla.net/inc/uploader.php"; $urlek = $img_url; $post = array('url'=>'3','thefiles'=> "$urlek",'thumbsize' => "$thsize",'c_thumbsize' => '','tos'=>'agree','nonadult' => '0','prv'=>'1','submit' => 'Upload'); $ch = curl_init(); curl_setopt($ch, CURLOPT_URL, trim($url)); curl_setopt($ch, CURLOPT_POST, 1); curl_setopt($ch, CURLOPT_FOLLOWLOCATION, 1); curl_setopt($ch, CURLOPT_POSTFIELDS, $post); curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); $result = curl_exec($ch); preg_match_all('|thumbs/(.*).jpg|',$result,$img); ///Dont change $okladka = "http://imagezilla.net/".$img[0][0]; // img url from imagezilla.net echo "<img src='$okladka' />";
- You can upload from link to Imagezilla.net.Motor92 Reviewed by Motor92 on . ImageZilla.net Curl remote upload Hi ! I write this script : $img_url = "http://www.besthostingforums.com/images/logo.png"; //// Variable with image link $thsize = '300'; //aviable : 250,300,450,500 // //Dont change $url = "http://imagezilla.net/inc/uploader.php"; Rating: 5DataLife Engine Developer - Cheap unique modules for DLE. || PHP designer
Sponsored Links
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Similar Threads
-
[Need help] curl / php upload for mediafire?
By futureawesome in forum Web Development AreaReplies: 10Last Post: 13th Nov 2012, 12:50 PM -
[Buying] php cURL upload function only
By hihotfile in forum Marketplace (Buy, Sell and Trade)Replies: 1Last Post: 23rd Sep 2012, 02:27 PM -
Why curl ftp upload is so slowly?
By ebogus in forum Web Development AreaReplies: 0Last Post: 12th Jun 2012, 07:57 PM -
Upload to Share-online with cUrl
By skinner in forum Web Development AreaReplies: 9Last Post: 23rd Mar 2012, 01:52 AM -
[Hiring] PHP Curl upload/download functions
By coincoinwc in forum Completed TransactionsReplies: 1Last Post: 29th Sep 2011, 01:18 PM
themaCreator - create posts from...
Version 3.53 released. Open older version (or...