hi sir,novice4eva wrote:maybe it has to do with the COOKIE_FILE, but even if it were... then error should have popped out!! Did you check if the file is there or if it is writable, there is this verification done in one of the examples at http://www.php.net/curl
EDIT : there is also an example for checking errors in curl here http://www.php.net/manual/en/function.curl-errno.php
i thinks its due to cookie file. what i did today is i run script on my local computer and than upload cookie file generated by script to server. and try to grab grab page which require authentication and i was able to successfully grab that page.
i remove the request of login coz i have already uploaded cookie file.
is it so that login site server may be blocking the ip of my server to login??