Re: Cookie access with CLI

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

 



On Sun, 2010-06-13 at 16:58 +0200, 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 don't believe cookies are available in a CLI script, they are a
construct of the browser/web server setup. Running PHP via the command
line is just like any other script over the command line.

Thanks,
Ash
http://www.ashleysheridan.co.uk



[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