I guess command line scripts. I don't know php well enough to get the lingo right, but basically each one of these scripts hits a mySQL db and generates static html pages in various folders.
I tried using require and require_once, but had to edit alot of the scripts due to redeclare errors and so forth. Also had to edit the paths in the scripts of the template locations and output folders. I guess the base directory becomes the once in the main script.
I did not know you could calls scripts like below. Will try that.
edit - oh, ok bash scripts. Didn't know what those are until now.
Thanks
Originally posted by bubblenut
You haven't really given us a lot to go on, I'm going to assume you're talking about command line scripts. Here's a little bash script which will execute all the .php files in the current working directory, placing their output in files named after the executed file but with .out appended.
for file in $(ls *.php)
do
php -q $file >$file.out
done
[/B]