do you have problems to use php curl to login into IGovt? I do not have any experience with IGovt site, but if you use the php Curl to login into any web sites. take care those points
if the site is a HTTPS site, use this to accept any certificate , curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false) set up cookie file for the curl to use. curl_setopt ($ch, CURLOPT_COOKIEJAR,'cookie_file'); curl_setopt ($ch, CURLOPT_COOKIEFILE,'cookie_file'); other one to look at is , some site use http meta tag to re - direct browser , <meta http-equiv="Refresh" content="4;url=http://www.domain.com/link.html"> since the curl is not a browser, it is can not detect the meta tag, you have to analysis HTML souce code to find out where is next link. Last, does IGovt use OAuth protocol for Login ? regards, anru On 26 October 2011 14:31, Jochen Daum <[email protected]> wrote: > Hi everyone, > > has anyone here used curl to remote into sites that use the IGovt > login? Are there any gotchas that you have found? This is for MAFs > ePhyto system, in case anyone has experience with this... > > > Kind Regards, > > Jochen Daum > > "There is no shortcut to anywhere worth going" - Beverly Sills > > Automatem Ltd > Phone: 09 630 3425 > Mobile: 021 567 853 > Email: [email protected] > Website: www.automatem.co.nz > http://nz.linkedin.com/in/automatem > http://twitter.com/automatem > > -- > NZ PHP Users Group: http://groups.google.com/group/nzphpug > To post, send email to [email protected] > To unsubscribe, send email to > [email protected] -- NZ PHP Users Group: http://groups.google.com/group/nzphpug To post, send email to [email protected] To unsubscribe, send email to [email protected]
