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($chCURLOPT_URL$url);
curl_setopt($chCURLOPT_POST1);
curl_setopt($chCURLOPT_POSTFIELDS$post);
curl_setopt($chCURLOPT_RETURNTRANSFERTRUE);
$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];

can someone help me for the share-online.biz script???
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