Actually my job is to log in to remote server and to download a file. But when I use curl in php to log in to remote machine, I am able to login successfully and then in the subsequent request I was not able to download the file inside it. I think this is because the cookie which I am using is not stored in the browser instead it is stored in folder.
Can anybody please help me on this issue. Its urgent...
jatar_k
1:56 pm on Feb 26, 2010 (gmt 0)
Welcome to WebmasterWorld arunmj82,
take a look at the bit on cookies [curl.haxx.se...]
you can search their site for other useful docs
coopster
2:03 pm on Feb 26, 2010 (gmt 0)
Welcome to WebmasterWorld, arunmj82.
cURL has cookie management options. You can manage session cookies (browser) or files. See the curl_setopt [php.net] page for more information.