Pass $_GET to php cli.



Hello.

I trying something without results.

I have a zend optimized php script. This script only request you a password, and then you go to admin page.
If a do in a browser:
http://www.example.com/administration.php

Then i go to this web where the password is request. I put the password and go to the administration web.

But if i do in a browser:
http://www.example.com/administration.php?varpass=112233&checkpass=Submit

Then i go directly to the administration web, without request pass.

So, im trying to the the same in php command line

i have test with many things, but i dont know how to specify this variable to the php cli,
some tested example:

php administration.php --varpass=112233 --checkpass=Submit
php administration.php --"varpass=112233&checkpass=Submit"
php administration.php --"varpass=112233" --"checkpass=Submit

And a lot of more combination.

Can i do this by php command line ?

Thanks and regards.
.



Relevant Pages

  • Re: Securing an Email script
    ... request to our sales office. ... Since you do ZERO checking on the values it's nothing BUT security ... very powerful PHP function to validate form fields and other ...
    (comp.lang.php)
  • Re: Object Oriented Content System - the idea
    ... >I expected php to be smarter then that. ... >form like bytecode in memory for the next request. ... each action added some stuff to a "response" XML document. ... that map/object/data and formats it for HTML display using an includeed PHP ...
    (comp.lang.php)
  • Re: Securing an Email script
    ... request to our sales office. ... Since you do ZERO checking on the values it's nothing BUT security issues. ... very powerful PHP function to validate form fields and other strings - ...
    (comp.lang.php)
  • Re: Modular PHP
    ... How can I catch an event in PHP. ... Everything is done with XML, so you will want to be familiar with XSLT ... the function itentified by the Handler attribute in the above XML, ... It's also worth noting that all the XML parsing for the request map ...
    (comp.lang.php)
  • Pass $_GET to php cli.
    ... I have a zend optimized php script. ... Then i go to this web where the password is request. ... Then i go directly to the administration web, ...
    (php.general)