error 500 php code example
Example 1: php header 500
header("HTTP/1.0 500 Internal Server Error");
Example 2: if i am using $_SERVER it shows 500 error
ini_set('display_errors', 1);
header("HTTP/1.0 500 Internal Server Error");
ini_set('display_errors', 1);