Re: Hello... PHP not in HTML
| From: | Vidyut Luther | Date: | Tue, 26 Sep 2000 16:58:58 +0000 |
| Subject: | Re: Hello... PHP not in HTML | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-17635@lists.php.net to get a copy of this message | ||
find your php binary (/bin/php or /usr/local/bin/php)..
and put the followig lines on top of your script
#!/path/to/phpbinary/php -q
the -q is quite mode, and will supress any http headers. you can see all
the other switches by typing /path/to/php -h
Vidyut Luther
we are the aol, lower your firewalls and prepare to install.
we will add *our* technological distinctivness to your own.
Uninstallation is futile!
On Wed, 27 Sep 2000, James Turle wrote:
> Just wondering how to use php from the unix prompt...
>
> I have written a mailout script and I don't really want to run it from a
> webpage... Any help out there?
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
> For additional commands, e-mail: php-general-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
>