I want to be able to get a PHP script called via AJAX to return with an error code that the jQuery AJAX handler error: will handle. I don\'t want to use a JSON
error:
Try this:
header("HTTP/1.0 404 Not Found"); exit();