in reply to Mail url executes
It can't stop the script from being executed, but it can be used to make it to refuse to actually do anything.
The code can look something like (untested, it's just an idea for a starting point):
unless(param('magicvalue') && param('magicvalue') eq 'magicpassword') print header(-status => 403), print "<html>Mail script only, not for browser viewing</html>"; exit; }
|
|---|