On 08/06/06, OOzy Pal <[EMAIL PROTECTED]> wrote:

How can I run a .php script from the command in Linux?

1. run /usr/local/bin/php (or wherever the php binary is, run which php to
find out) scriptname



2. add the hash bang to the start of the script and run it by typing the
scriptname.




--
http://www.web-buddha.co.uk

dynamic web programming from Reigate, Surrey UK (php, mysql, xhtml, css)

look out for project karma, our new venture, coming soon!

Reply via email to