RE: [PHP] (0/T) executeing script below public

From: Date: Fri, 12 Dec 2003 22:13:01 +0000
Subject: RE: [PHP] (0/T) executeing script below public
Groups: php.general 
Request: Send a blank email to php-general+get-172608@lists.php.net to get a copy of this message
[snip] #!/bin/sh <scriptname> start (or) <scriptname> stop [/snip] It is a shell script. They are usually placed in /usr/local/bin/ and chmod'd to execute. To run it you type this at the command line; scriptname start (or) scriptname stop This script accepts one argument, either 'stop' or 'start' [/snip] I should have added that you can run them from other folders using the './scriptname arg' from the command line. Depends on OS

« previous php.general (#172608) next »