Also, you need to have the PHP interpreter installed as an executable for running scripts on the commandline. If your ISP only has PHP set up as an Apache module, ask them if they can install the executable as well. If not, you can compile it yourself (on unix) or download the .exe (on windows) and run your scripts through that.
To call a PHP script on the commandline:
prompt> php -q myscript.php
the -q option suppresses the HTTP headers it normally sends by default:
Content-type: text/html
X-Powered-By: PHP/4.3.2
Take care,
Nik
http://www.bigaction.org/