If the ID (ie user) does not exist I send header("Status: 404 Not Found"); to the browser but PHP sends rest of the page too. Then I made it to send nothing but then it showed a blank white page. I want it to show the default error page. How I’ll let it to do it?
If the ID (ie user) does not exist I send header(Status: 404 Not Found);
Share
?
or you need universal solution?