[PHP] CURL + Frames, fopen + remote sessions
4 Message(s) by 4 Author(s) originally posted in php general
| From: jennifer |
Date: Wednesday, October 24, 2007
|
| From: jochem |
Date: Friday, October 26, 2007
|
wrote in message:
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 cookie s and
authentication.
Jennifer
| From: eric.butera |
Date: Friday, October 26, 2007
|
| From: robert |
Date: Friday, October 26, 2007
|
wrote in message:
wrote in message:
> 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 have had to parse
them out the hard way *cry*.
Cheers,
Rob.
--
...........................................................
SwarmBuy.com -
http://www.swarmbuy.com
Leveraging the buying power of the masses!
...........................................................
Next Message: Close a session knowing it's ID (not the current session)