note 142 added to tutorials.hellow.php
| From: | php-gtk at lists dot php dot net | Date: | Mon, 20 May 2002 19:14:56 +0000 |
| Subject: | note 142 added to tutorials.hellow.php | ||
| Groups: | php.gtk.webmaster | ||
| Request: | Send a blank email to php-gtk-webmaster+get-464@lists.php.net to get a copy of this message | ||
Put:
#!/usr/local/bin/php -q
at the top of your PHP, then chmod a+rx
the PHP file to make it "executable" from
the command line. After that #! line,
the next line should start with <?php
so it won't echo any spaces.
The -q option supresses the Content-Type message you will get if you don't use -q
http://gtk.php.net/manual/en/tutorials.hellow.php