Forum Moderators: coopster

Message Too Old, No Replies

Run several scripts from one.

         

Spanger

5:15 pm on Aug 16, 2007 (gmt 0)

10+ Year Member



Say I had 5 different scripts that I needed to run - Instead of calling on them one by one, would it be possible to write one single script that runs them all?

Basically, can a PHP script execute another PHP script on the server?

Thanks!

Spanger

eelixduppy

5:21 pm on Aug 16, 2007 (gmt 0)



There are a few different ways to look at this depending on what you mean exactly. It be a simple include [php.net] or you might want to use the exec functions [php.net] and parse the script manually with the php interpreter. In either case it should work.