Results 1 to 10 of 10
Threaded View
-
2nd Dec 2010, 05:29 PM #8OPRespected 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);
?>
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
themaLeecher - leech and manage...
Version 5.05 released. Open older version (or...