Menu
I have a php code within a php file. I have a slender protection of that file, something like:
[code=php]
if(!defined(‘foo’)){header(‘HTTP/1.0 404 not found’);exit;}
Now, this php file has a query function (to a MYSQL D?. It works ok, [I]in a static
Any idea how to protect a php file on which I need to send an AJAX request?