Results 1 to 10 of 10
Hybrid View
-
24th Feb 2010, 10:05 PM #1OPRespected Member
Here you go.
HTTP/1.1 503 Server too busy Server: nginx Date: Wed, 24 Feb 2010 22:03:00 GMT Content-Type: text/html Transfer-Encoding: chunked Connection: keep-alive Set-Cookie: SID=7b5c1b856aff24f1a68865a611da5832; expires=Thu, 25-Feb-2010 00:03:00 GMT; path=/; domain=.uploading.com Set-Cookie: cache=99c5010e54c36a91c0fa9b08e900dd20; expires=Wed, 24-Feb-2010 23:03:00 GMT; path=/; domain=.uploading.com[url] => http://uploading.com/files/checker/
[content_type] => text/html
[http_code] => 503
[header_size] => 403
[request_size] => 240
[filetime] => -1
[ssl_verify_result] => 0
[redirect_count] => 0
[total_time] => 0.040844
[namelookup_time] => 0.009417
[connect_time] => 0.020572
[pretransfer_time] => 0.02058
[size_upload] => 103
[size_download] => 0
[speed_download] => 0
[speed_upload] => 2521
[download_content_length] => -1
[upload_content_length] => 0
[starttransfer_time] => 0.040822
[redirect_time] => 0Lock Down Reviewed by Lock Down on . Help with Uploading.com batch Link Checker and Curl .. Has anyone been able to get a batch link check to uploading.com to work from a php script usng curl? I get a 503 server busy every time. All help appreciated. Rating: 5
-
2nd Dec 2010, 05:29 PM #2OPRespected Member
Here is the code as Mr Happy box is still full. :)
PHP Code:<?php
echo "<br><pre><xmp>";
$data['urls'] = "http://uploading.com/files/c8764714";
$ckfile = tempnam ("/tmp", "CURLCOOKIE");
$ch = curl_init ("http://uploading.com/filechecker/");
curl_setopt ($ch, CURLOPT_COOKIEJAR, $ckfile);
curl_setopt ($ch, CURLOPT_RETURNTRANSFER, true);
$output = curl_exec ($ch);
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL,'http://uploading.com/filechecker/');
curl_setopt($ch, CURLOPT_COOKIEFILE, $ckfile);
curl_setopt($ch, CURLOPT_REFERER,'http://uploading.com');
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, 60);
curl_setopt($ch, CURLOPT_TIMEOUT, 60);
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);
$content = curl_exec($ch);
curl_close($ch);
echo "<br>$content<pre><xmp>"; echo "<br>"; print_r($_REQUEST);
?>
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 -
[help] Uploading images to imageporter with curl
By hover in forum Web Development AreaReplies: 3Last Post: 23rd Apr 2011, 10:23 PM -
[guide] Uploading to Hofile using curl
By desiboy in forum Tutorials and GuidesReplies: 19Last Post: 30th May 2010, 07:40 PM -
Batch Link check to uploading.com
By Lock Down in forum General DiscussionReplies: 0Last Post: 21st Feb 2010, 03:38 AM
themaCreator - create posts from...
Version 3.52 released. Open older version (or...