shell scripting.
| From: | kill-9 | Date: | Sat, 17 Feb 2001 07:46:37 +0000 |
| Subject: | shell scripting. | ||
| Groups: | php.windows | ||
| Request: | Send a blank email to php-windows+get-5615@lists.php.net to get a copy of this message | ||
does anyone know if it is possible to pass code to the php executable.
for example.
php <?php echo "hello world"; ?>
I have tried but it didn't work maybe I'm just doing it wrong. If it doesn't is
there a way of running a script that is in memory. say I use fopen to read a php script into a
variable how then can I run this script? eval didn't seem to work right.
thanks in advance
kill-9
www.kill-9.dk