in PHP, how would one return from an included script back to the script where it had been included from?
IE:
1 - main script 2 - application 3 - included
See Example #5 in the documentation for include.
You can get the return value of the script when including it, like:
$foo = include 'script.php';