Re: CURL + Frames, fopen + remote sessions
| From: | Robert Cummings | Date: | Fri, 26 Oct 2007 15:52:51 +0000 |
| Subject: | Re: CURL + Frames, fopen + remote sessions | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-263719@lists.php.net to get a copy of this message | ||
On Fri, 2007-10-26 at 17:43 +0200, Jochem Maas wrote:
> jenix wrote:
> > Hi,
> >
> > When using CURL to access a page with frames I get the "Your browser does
> > not appear to support frames" error. How can get around this? Is there
> > special header info that can be added?
>
> try spoofing the USer Agent string - i.e. tell the server your 'Firefox' rather than
> Curl.
>
> > Also, if I were using fopen can
> > anyone offer sample code how to login to remote site and deal with remote
> > session info? Thanks!
>
> oh no. this is exactly the kind of thing Curl is made for. the archives of this
> list contain plenty about using Curl with sites that require persistent cookies and
> authentication.
Curl sucks at groking JavaScript cookies :/ I know, I've had to parse
them out the hard way *cry*.
Cheers,
Rob.
--
...........................................................
SwarmBuy.com - http://www.swarmbuy.com
Leveraging the buying power of the masses!
...........................................................