Ok I have this script that is an included file in another script. It looks something like this:
<?
if(isset($_GET['error']))
{
switch($_GET['error'])
{
//Switch with possible values...
}
// From here depending on some other code, i want to end the script or continue on.
//But I can't use a die() because that would mean that ALL execution would stop and other things in the file including this would not happen.
}
?>
Thus my question is, is there a way to stop execution on an included file but not the including file without using a function return??