How can I discover if a called to PHP is made from Dreamweaver to check a file s correct?
Like one of my is called Utilities.php
. Dreamweaver makes Utilities_3ooftqaeu3.php
and sends it to PHP.
My problem is in my code I execute
header( "location: ".$_SERVER['SCRIPT_NAME']);
and because Utilities_3ooftqaeu3.php
doesn't exist Dreamweaver reports an validation error.
Is there a way out of this? The easiest would be if I could recognise that Dreamweaver has made the call to PHP and then not execute header()
command