Results 1 to 9 of 9
Threaded View
-
20th Sep 2011, 05:35 AM #7OPMemberPHP Code:
function getCookie($user, $pass) {
$ch = curl_init();
curl_setopt_array($ch, array(
CURLOPT_URL => 'http://blahblahblah.com/login.php',
CURLOPT_RETURNTRANSFER => true,
CURLOPT_COOKIEJAR => 'cookie.txt',
CURLOPT_USERAGENT => 'Mozilla/5.0 (Windows NT 5.1; rv:6.0.2) Gecko/20100101 Firefox/6.0.2',
CURLOPT_POST => true,
CURLOPT_POSTFIELDS => "user=$user&password=$pass"
));
curl_exec($ch);
curl_close($ch);
}
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Similar Threads
-
UK Cookie Law Starts This Weekend
By Ladybbird1 in forum News & Current EventsReplies: 4Last Post: 27th May 2012, 09:31 AM -
Need Help In cookie
By saninokia in forum Web Development AreaReplies: 0Last Post: 21st Feb 2012, 04:10 PM -
How to add cookie in rapidleech
By djakil in forum Webmaster DiscussionReplies: 5Last Post: 14th Jan 2011, 05:00 AM -
Fix the cookie problem in vB
By Royal King in forum Tutorials and GuidesReplies: 5Last Post: 7th Feb 2010, 02:28 PM -
C is for cookie, and that's good enough for me
By Sp32 in forum General DiscussionReplies: 4Last Post: 18th Jan 2010, 05:14 AM
themaCreator - create posts from...
Version 3.47 released. Open older version (or...