Results 1 to 5 of 5
Threaded View
-
2nd Apr 2012, 08:49 PM #1OPMemberWebsite's:
fileservedownload.netshare-online.biz upload script
hello
i use a script for upload to some host...like uploaded.to or netload...
i want cancel uploade.to (close affiliate program) and start with share-online
i see the page of apiupload
http://www.share-online.biz/uploadapi/
i try...but i don't know how modified my script...
netload example (thank at soft 2005)
PHP Code:function upNetLoad($value, $usr, $pass){
$url = file_get_contents('http://api.netload.in/getserver.php');
$post = Array ('modus' => 'file_upload', 'file_link' => "@$value", 'auth' => 'xxxxxxxxxxxxxxxxxxx', 'user_id' => $usr, 'user_password' => $pass);
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, $url);
curl_setopt($ch, CURLOPT_POST, 1);
curl_setopt($ch, CURLOPT_POSTFIELDS, $post);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, TRUE);
$result = curl_exec ($ch);
curl_close ($ch);
if (preg_match("/upload_failed/", $result) || preg_match("/prepare_failed/", $result)) {
return '';
}
else if (preg_match("/UPLOAD_OK/", $result)) {
$arr = explode(';', $result);
/*
$arr[0] : UPLOAD_OK
$arr[1] : FILENAME
$arr[2] : FILESIZE
$arr[3] : DOWNLOAD LINK
$arr[4] : DELETE LINK
*/
return $arr[3];
}
thanks
ciaociao4 Reviewed by ciaociao4 on . share-online.biz upload script hello :D i use a script for upload to some host...like uploaded.to or netload... i want cancel uploade.to (close affiliate program) and start with share-online i see the page of apiupload http://www.share-online.biz/uploadapi/ Rating: 5
Sponsored Links
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Similar Threads
-
Upload to Share-Online.biz with Perl Script
By Homosapien in forum Web Development AreaReplies: 2Last Post: 23rd Oct 2012, 04:31 PM -
Share-Online.biz Discussion Thread - Post your discussions related to Share-Online
By Jiung in forum File Host DiscussionReplies: 358Last Post: 9th Oct 2012, 11:46 PM -
Share-Online.biz close PPD
By Deadmau5 in forum File Host DiscussionReplies: 24Last Post: 9th Apr 2012, 07:06 AM -
Upload to Share-online with cUrl
By skinner in forum Web Development AreaReplies: 9Last Post: 23rd Mar 2012, 01:52 AM -
remote upload from easy-share/share.cx to
By algon in forum File Host DiscussionReplies: 3Last Post: 19th May 2011, 04:09 PM
themaCreator - create posts from...
Version 3.48 released. Open older version (or...