Re: Shell scripting

From: Date: Mon, 10 Dec 2001 20:14:46 +0000
Subject: Re: Shell scripting
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-77248@lists.php.net to get a copy of this message
Add the -q argument to the php command, i.e. $ php -q or edit the first line of your script to something like this: #!/path/to/php -q There are some other arguments to the cgi executable. Use the -h argument for details. J Dan McCullough wrote: > I am setting up a shell script to provide a menu for some tasks that our > server admin would like to do via script rather then vi'ing the file, now > I am almost finished but I would like to get rid of this ugly part of the > output. > > X-Powered-By: PHP/4.0.4pl1 > Content-type: text/html > > Is there away that I can get the echo to stay off for that part. > > dan >

« previous php.general (#77248) next »