How can I run php scripts from a shell script?
Available news archives: comp.lang.tcl - comp.lang.python - comp.security.firewalls - sci.crypt - comp.lang.php - comp.lang.javascript
Google
 
Web news.hping.org


comp.lang.php archive

How can I run php scripts from a shell script?

From: <john@munsey.net>
Date: Sat Jun 18 2005 - 22:27:22 CEST

Newbie about this stuff.

I want to run some php scripts from a shell script(bash?)

the php script i want to run is this:
test.php

and it's path is this:
home/virtual/blahblah.com/home/abc/mainwebsite_html/bluhbluh/dbtest/

1. How would I creat the shell script?
2. How would I execute it?

I have already tried ot figure it out with no success.

I have php 4.2.2

Thanks
Received on Mon Oct 24 02:08:30 2005