Re: Pass $_GET to php cli.

From: Date: Mon, 27 Aug 2007 04:29:41 +0000
Subject: Re: Pass $_GET to php cli.
References: 1 2 3 4  Groups: php.general 
Request: Send a blank email to php-general+get-261350@lists.php.net to get a copy of this message
On Tue, August 21, 2007 3:08 am, Per Jessen wrote: > N0K wrote: > >> But if it run in the browser, i think it have to run in cli, dont >> you >> think ? > > No, certainly not by default. They are very different environments, as > you have already found out. If you want to force it to work, you could hack up a CGI SAPI sort of thing... Or just toss it into a web-server somewhere and use wget from the command line to access it, which would be much easier. -- Some people have a "gift" link here. Know what I want? I want you to buy a CD from some indie artist. http://cdbaby.com/browse/from/lynch Yeah, I get a buck. So?

« previous php.general (#261350) next »