Results 1 to 3 of 3
-
10th Nov 2010, 05:10 PM #1OPRespected Member
Filesonic curl code not working???
Hi I have the following code I use for link checkers. It works on most sites but filesonic.com return 200 ok but does not check the link. Anyone know what's wrong or have working code for filesonic? Thanks.
Code:<?php $ch = curl_init(); $data['redirect'] = '/'; $data['links'] = "http://www.filesonic.com/file/25157719/Available.zip\n"; curl_setopt($ch, CURLOPT_URL, 'http://filesonic.com/link-checker'); curl_setopt($ch, CURLOPT_REFERER, 'http://filesonic.com/link-checker'); curl_setopt($ch, CURLOPT_USERAGENT, 'Mozilla/4.73 [en] (X11; U; Linux 2.2.15 i686)'); curl_setopt($ch, CURLOPT_HTTPHEADER,array("Expect:")); curl_setopt($ch, CURLOPT_CONNECTTIMEOUT, 8); curl_setopt($ch, CURLOPT_TIMEOUT, 8); curl_setopt($ch, CURLOPT_HEADER, true); curl_setopt($ch, CURLOPT_FOLLOWLOCATION, true); curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); curl_setopt($ch, CURLOPT_POST, 1); curl_setopt($ch, CURLOPT_POSTFIELDS, $data); $page = curl_exec($ch); print $page ; curl_close($ch); ?>
Lock Down Reviewed by Lock Down on . Filesonic curl code not working??? Hi I have the following code I use for link checkers. It works on most sites but filesonic.com return 200 ok but does not check the link. Anyone know what's wrong or have working code for filesonic? Thanks. <?php $ch = curl_init(); $data = '/'; $data = "http://www.filesonic.com/file/25157719/Available.zip\n"; curl_setopt($ch, CURLOPT_URL, 'http://filesonic.com/link-checker'); curl_setopt($ch, CURLOPT_REFERER, 'http://filesonic.com/link-checker'); curl_setopt($ch, Rating: 5
-
11th Nov 2010, 05:45 AM #2MemberWebsite's:
rapidgen.netPHP Code:$ch = curl_init();
$data['redirect'] = '/file/15033437/%E6%8C%81%E6%9C%88%E7%9C%9F%E7%94%B1~16%E5%B2%81%E5%87%8C%E8%BE%B1%E6%8F%B4%E4%BA%A4.rar';
$data['links'] = "http://www.filesonic.com/file/15033437/持月真由~16岁凌辱援交.rar\n";
$data['controls[submit]'] = "";
curl_setopt($ch, CURLOPT_URL, 'http://www.filesonic.com/link-checker');
curl_setopt($ch, CURLOPT_REFERER, 'http://www.filesonic.com/link-checker');
curl_setopt($ch, CURLOPT_USERAGENT, 'Mozilla/4.73 [en] (X11; U; Linux 2.2.15 i686)');
curl_setopt($ch, CURLOPT_HTTPHEADER,array("Expect:"));
curl_setopt($ch, CURLOPT_CONNECTTIMEOUT, 8);
curl_setopt($ch, CURLOPT_TIMEOUT, 8);
curl_setopt($ch, CURLOPT_HEADER, true);
curl_setopt($ch, CURLOPT_FOLLOWLOCATION, true);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_POST, 1);
curl_setopt($ch, CURLOPT_POSTFIELDS, http_build_query($data));
$page = curl_exec($ch);
print $page ;
curl_close($ch);
-
11th Nov 2010, 04:21 PM #3OPRespected Member
Thanks. Never would have caught it in a million years.
Sponsored Links
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Similar Threads
-
Uploading to FileSonic Using cURL
By Gaurav in forum Web Development AreaReplies: 71Last Post: 14th Jan 2012, 03:00 AM -
Free and working Filesonic, Wupload Leecher
By Enigmatic in forum Useful SitesReplies: 1Last Post: 10th Nov 2011, 12:15 AM -
How can I download from filesonic using curl ?
By shounak2011 in forum Web Application/Script SupportReplies: 0Last Post: 17th Sep 2011, 07:17 AM -
need help in filesonic/wupload download using curl
By saninokia in forum Web Development AreaReplies: 1Last Post: 30th Jul 2011, 04:11 PM -
fileserver to filesonic isn;t working
By i_love_u_love in forum File Host DiscussionReplies: 7Last Post: 12th Apr 2011, 07:07 PM
themaLeecher - leech and manage...
Version 5.03 released. Open older version (or...