Re: curl-and-php Digest, Vol 56, Issue 7

Peter Miller <[email protected]>
Newsgroups gmane.comp.web.curl.php
Message-ID <[email protected]>
hi Vishwanath dalvi
its hard to know where you are stuck without more deatil. the stages
involved would be:
1. ensure that curl is installed: <?php phpinfo(); ?> do a ctrl+f on the
webpage for the word 'curl' and if you find it then curl is installed
2. simulate a gmail login. to see how this works you could install the 'live
http headers' addon for firefox:
https://addons.mozilla.org/en-US/firefox/addon/3829 this will show you all
of the headers which pass back and forth between the gmail server and your
browser as you login.
3. setup curl to mimic what the browser does as seen in the live http
headers program. if you have never used curl before its probably best to get
curl working for a much simpler site than gmail. try getting example #1 from
http://au.php.net/manual/en/function.curl-setopt.php to work for you.

hope that helps!

peter

_______________________________________________
http://cool.haxx.se/cgi-bin/mailman/listinfo/curl-and-php
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.