hello guys .
Can someone tell me how to create a function in php that works whenever someone opens a page that does not exist and at the same time the code notifies me with the error . I have created one but it does not work for all pages . Please tell me how to do it
Hey, have you try $_SERVER['query_string'], It may be give you the error code or page which currently access by you
Hope this will help you!