Re: CURL + Frames, fopen + remote sessions

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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!
...........................................................

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux