Re: how to give vars to a php(shell env) script?

From: Date: Wed, 24 Apr 2002 04:44:21 +0000
Subject: Re: how to give vars to a php(shell env) script?
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-94306@lists.php.net to get a copy of this message
In article <3CC619A0.1090904@gmx.net>, kpot@gmx.net says... > Hi NG! > > how could i give some vars to a php script, that is directly executed by > php-parser. for instance: > > #!/usr/bin/php -q > <? > echo "$SOME_VAR"; > ?> > > is it possible at all? > > thanx for advance. > > Hermann Bier > > Have a look at the section of the manual on Using PHP from the Command Line - there are examples of how to do what you want. -- David Robley Temporary Kiwi! Quod subigo farinam

« previous php.general (#94306) next »