I was hoping to block the PATH ONLY, not the error itself, since they help debug. Are you sure there is no way to substitute something for the path, or eliminate it? So to stop the path showing, I have to issue no die() statments, and I cannot even use something like a 404 redirect??? What an incredible oversight !!!
Main Topics
Browse All Topics





by: gruntarPosted on 2005-03-26 at 23:35:34ID: 13638613
You cannot hide only path. When you publish your page add line below to a file that is included at the beggining of all other files.
error_reporting(0);
that will block all kinds of errors except the ones you call with die()...
cheers