Activity Stream
48,167 MEMBERS
64541 ONLINE
besthostingforums On YouTube Subscribe to our Newsletter besthostingforums On Twitter besthostingforums On Facebook besthostingforums On facebook groups

Results 1 to 10 of 10

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1.     
    #1
    Respected 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] => 0
    Lock 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

  2.   Sponsored Links

  3.     
    #2
    Respected Member

    Default 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 ($chCURLOPT_COOKIEJAR$ckfile); 
        
    curl_setopt ($chCURLOPT_RETURNTRANSFERtrue);
        
    $output curl_exec ($ch);
        
    $ch curl_init();
        
    curl_setopt($chCURLOPT_URL,'http://uploading.com/filechecker/');
        
    curl_setopt($chCURLOPT_COOKIEFILE$ckfile);
        
    curl_setopt($chCURLOPT_REFERER,'http://uploading.com');
        
    curl_setopt($chCURLOPT_USERAGENT'Mozilla/4.73 [en] (X11; U; Linux 2.2.15 i686)');
        
    curl_setopt($chCURLOPT_HTTPHEADER,array("Expect:"));
        
    curl_setopt($chCURLOPT_CONNECTTIMEOUT60);
        
    curl_setopt($chCURLOPT_TIMEOUT60);
        
    curl_setopt($chCURLOPT_HEADERtrue);
        
    curl_setopt($chCURLOPT_FOLLOWLOCATIONtrue);
        
    curl_setopt($chCURLOPT_RETURNTRANSFERtrue);
        
    curl_setopt($chCURLOPT_POST1);
        
    curl_setopt($chCURLOPT_POSTFIELDS$data);
        
    $content curl_exec($ch);
        
    curl_close($ch);

    echo  
    "<br>$content<pre><xmp>"; echo  "<br>"print_r($_REQUEST);

    ?>

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Uploading to FileSonic Using cURL
    By Gaurav in forum Web Development Area
    Replies: 71
    Last Post: 14th Jan 2012, 03:00 AM
  2. [help] Uploading images to imageporter with curl
    By hover in forum Web Development Area
    Replies: 3
    Last Post: 23rd Apr 2011, 10:23 PM
  3. [guide] Uploading to Hofile using curl
    By desiboy in forum Tutorials and Guides
    Replies: 19
    Last Post: 30th May 2010, 07:40 PM
  4. Batch Link check to uploading.com
    By Lock Down in forum General Discussion
    Replies: 0
    Last Post: 21st Feb 2010, 03:38 AM

Tags for this Thread

BE SOCIAL