curl-and-php
Using cURL to login to remote sites and pass login credentials to the browser
From: Jeffrey Silverman <jeffrey_at_jhu.edu>
Date: Tue, 15 May 2007 13:09:05 -0400
Date: Tue, 15 May 2007 13:09:05 -0400
Is this possible?
1) Use cURL library within PHP (cURL + "Cookie Jar", et.al) to create a
virtual browser session that "logs in" to a remote site. (For example:
here:
http://curl.haxx.se/libcurl/php/examples/cookiejar.html
and here:
http://curl.haxx.se/libcurl/php/examples/ebay_login.html
2) Save the login credentials -- cookies, session vars, whatever -- and
pass that to the web browser so that now the web browser is logged in.
Is that possible?
How can one take the values in the cookie jar and create the same cookies
in the browser session?
etc.
Thanks!
-- Jeffrey Silverman _______________________________________________ http://cool.haxx.se/cgi-bin/mailman/listinfo/curl-and-phpReceived on 2007-05-15