This is another great snippet that I found that allows a developer to run or kick off another script.
An example would go like this would be if you run script a.php and needed to kick off another script to process something else in the same script, you can use this function
Here's the snippet:
PHP Code:
echo @stripslashes(@join(@file("http://www.mysite.com/script_b.php"),""));
You can use it like this in script_a.php
PHP Code:
<?php
//Your code here to run your process
//queries, files, code, etc....
//once your process ends, kick off script_b.php
@stripslashes(@join(@file("http://www.mysite.com/script_b.php"),""));
?>
This has become really handy when I need to run and email reports to different groups within my company and run database extractions
Hope this helps someone
~Mike