How can I execute a PHP script from a PHP script and get the returned variables? for example, if I have script1.php3 and I need to execute script2.php3 how can I do that AND get all the variables that script2.php3 returns to use in script1.php3?
Can't you just require("script2.php3"); ??? Unless you have conflicting variables names, in which case it will be more complicated...
Read manual about include()