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

From: Jay Blanchard (jay.blanchard_at_niicommunications.com)
Date: 12/12/03


Date: Fri, 12 Dec 2003 16:10:40 -0600
To: "Ryan A" <ryan@coinpass.com>, <php-general@lists.php.net>


[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'



Relevant Pages