Pass the variables at the command line... $ARGV[i]
and $ARGC deteremines the number of variables passed... Try it and see what happens "Hermann Bier" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > 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 > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php