Re: Executing PHP shell script in PHP

From: Date: Tue, 06 Apr 2004 09:49:49 +0000
Subject: Re: Executing PHP shell script in PHP
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-182450@lists.php.net to get a copy of this message
Brent Clark wrote:
Hi Does anyone know of how to execute a php shell script in a php file. Kind Regards Brent Clark
assuming *nix php myscript.php or stick at the beginning of the file #!/bin/php and then run ./myscript.php hope it helps pete

« previous php.general (#182450) next »