logo       
Google Custom Search
    AddThis Social Bookmark Button

Re: ebay_login.php Example: msg#00027

Subject: Re: ebay_login.php Example
If i remember correctly from the PHP manual you need a single file for the cookiejar. And the file must already exist.

Something like "touch /tmp/cookiejar" would work then set that as the cookie area.

Hope that helps,

Mike

I am trying to learn how to log in to pages using curl and PHP, and tried to use the ebay example:

http://curl.haxx.se/libcurl/php/examples/?ex=ebay_login.php

...but I am unable to make the ebay login script example work. eBay gives me an "The browser you are using is rejecting cookies" error. Note that I am changing the cookie path to:
$cookie_file_path = "tmp";

I receive the error even when the permissions for this directory are set to 777. I've also tried it with the path tmp\cookie, with and without a file "cookie" with 777 permissions already present. curl is enabled on the server and the PHP version is 4.3.3.

Any help would be appreciated. If I am giving incomplete information let me know. Thank you :)






Try Searching:
servers, voip, java, networking, microsoft ...
<Prev in Thread] Current Thread [Next in Thread>