I have a script that connects to the yahoo server and stores some information in a cookie, is their away i can make the script run without storing cookies
heres some of the script:
heres some of the script:
| Code: |
| // Execute Curl For Login
$ch = curl_init(); curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); curl_setopt($ch, CURLOPT_URL, $url_login); curl_setopt($ch, CURLOPT_HTTPAUTH, CURLAUTH_ANY); //curl_setopt ($ch, CURLOPT_COOKIEJAR, $this->email_id.".php"); curl_setopt($ch, CURLOPT_HEADER , 1); ob_start(); $response = curl_exec ($ch); ob_end_clean(); curl_close ($ch); unset($ch); // End Execute Curl For Login // Call Address Book Page Through Curl $url_addressbook = "http://address.yahoo.com/yab/us"; $ch = curl_init(); curl_setopt($ch, CURLOPT_RETURNTRANSFER,1); //curl_setopt($ch, CURLOPT_COOKIEFILE, $this->email_id.".php"); curl_setopt($ch, CURLOPT_HEADER , 1); curl_setopt($ch, CURLOPT_URL, $url_addressbook); $result = curl_exec ($ch); curl_close ($ch); unset($ch); // End Call Address Book Page Through Curl |
