Re: Cookie access with CLI
| From: | Richard Quadling | Date: | Mon, 14 Jun 2010 11:26:21 +0000 |
| Subject: | Re: Cookie access with CLI | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-306120@lists.php.net to get a copy of this message | ||
On 13 June 2010 17:34, Shawn McKenzie <nospam@mckenzies.net> wrote:
> On 06/13/2010 09:58 AM, David Česal wrote:
>> Hello,
>>
>> I'm trying to access (from CLI) some website, where login is required.
>> Please, is it possible to set/save some cookies first (login session
>> information) and then access the website as logged user? All through CLI..
>>
>>
>>
>> Thank you very much for any information.
>>
>>
>>
>> David Cesal
>>
>>
>
> I'm almost positive you can do this with cURL and it should be fairly
> simple. Check it out.
>
> http://php.net/manual/en/book.curl.php
>
> --
> Thanks!
> -Shawn
> http://www.spidean.com
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
--
-----
Richard Quadling
"Standing on the shoulders of some very clever giants!"
EE : http://www.experts-exchange.com/M_248814.html
EE4Free : http://www.experts-exchange.com/becomeAnExpert.jsp
Zend Certified Engineer : http://zend.com/zce.php?c=ZEND002498&r=213474731
ZOPA : http://uk.zopa.com/member/RQuadling