for those of you who think that using return in a script is the same as using exit note that: using return just exits the execution of the current script, exit the whole execution.look at that example:a.php<?phpinclude("b.php");echo "a";?>b.php<?phpecho "b";return;?>(executing a.php:) will echo "ba".whereas (b.php modified):a.php<?phpinclude("b.php");echo "a";?>b.php<?phpecho "b";exit;?>(executing a.php:) will echo "b".