Re: scripting with php
| From: | Matthew Weier O'Phinney | Date: | Wed, 15 Dec 2004 03:50:34 +0000 |
| Subject: | Re: scripting with php | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-204381@lists.php.net to get a copy of this message | ||
* Bruno Santos <brvds@netvisao.pt>:
> since my first page, ive used php as a server side language, embebed in
> html pages. now, i need to develop a small script to run as stand alone.
> how can i do it ?
>
> just like bourn shell, ive used #!/usr/bin/php -q, but it apears is not
> working ...
Did you make the script executable...? Is the path to PHP correct? Did
you enclose all PHP commands within <?php ... ?> directives?
--
Matthew Weier O'Phinney | mailto:matthew@garden.org
Webmaster and IT Specialist | http://www.garden.org
National Gardening Association | http://www.kidsgardening.com
802-863-5251 x156 | http://nationalgardenmonth.org