Results 1 to 10 of 10
Threaded View
-
20th Mar 2012, 03:33 PM #1OPMemberWebsite's:
satiq.netUpload to Share-online with cUrl
Hi,
I'm trying to upload to share-online with php and this is the simple code I use:
PHP Code:$linkSO = "http://".$SessionName21[1]."/upv3.php";
$postfieldsSO = array('username' => 'user', 'password' => 'pass', 'upload_session' => $SessionName21[0], 'chunk_no' => '1', 'chunk_number' => '1', 'filesize' => $sizeFileUPLOAD, 'fn' => '@'.$source_file, 'finalize' => '1');
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, $linkSO);
curl_setopt($ch, CURLOPT_POST, 1);
curl_setopt($ch, CURLOPT_POSTFIELDS, $postfieldsSO);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, TRUE);
$postResultSO = curl_exec ($ch);
curl_close ($ch);
What I do wrong?
Thanksskinner Reviewed by skinner on . Upload to Share-online with cUrl Hi, I'm trying to upload to share-online with php and this is the simple code I use: $linkSO = "http://".$SessionName21."/upv3.php"; $postfieldsSO = array('username' => 'user', 'password' => 'pass', 'upload_session' => $SessionName21, 'chunk_no' => '1', 'chunk_number' => '1', 'filesize' => $sizeFileUPLOAD, 'fn' => '@'.$source_file, 'finalize' => '1'); $ch = curl_init(); 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
-
[Need help] curl / php upload for mediafire?
By futureawesome in forum Web Development AreaReplies: 10Last Post: 13th Nov 2012, 12:50 PM -
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 upload script
By ciaociao4 in forum Web Development AreaReplies: 4Last Post: 3rd Apr 2012, 04:39 PM -
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.56 released. Open older version (or...