Re: scripting with php

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



* Bruno Santos <brvds@xxxxxxxxxxx>:
> 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@xxxxxxxxxx
Webmaster and IT Specialist       | http://www.garden.org
National Gardening Association    | http://www.kidsgardening.com
802-863-5251 x156                 | http://nationalgardenmonth.org

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux