blueman378 Posted March 6, 2008 Share Posted March 6, 2008 hi guys well im maknig a custom error page and would like to have the ulr typed show up however it ony works if the user clicks on a link if the user types on a wrong url it doesnt show up any ideas? Link to comment https://forums.phpfreaks.com/topic/94668-custom-error-page-referrer-or-_serverhttp_referer/ Share on other sites More sharing options...
deansatch Posted March 6, 2008 Share Posted March 6, 2008 do you not have the option to do this from within your hosting accounts control panel? Link to comment https://forums.phpfreaks.com/topic/94668-custom-error-page-referrer-or-_serverhttp_referer/#findComment-484746 Share on other sites More sharing options...
blueman378 Posted March 6, 2008 Author Share Posted March 6, 2008 i can make it use the custom error pages yes, but i want to have the url that was wrong shon up, like it does on the default one, but it only works if it is a link not if i access it through urls Link to comment https://forums.phpfreaks.com/topic/94668-custom-error-page-referrer-or-_serverhttp_referer/#findComment-484750 Share on other sites More sharing options...
DyslexicDog Posted March 6, 2008 Share Posted March 6, 2008 Do you want to see the name of the file that is being called or do you want to see the whole path and the name of the file? Link to comment https://forums.phpfreaks.com/topic/94668-custom-error-page-referrer-or-_serverhttp_referer/#findComment-484755 Share on other sites More sharing options...
blueman378 Posted March 6, 2008 Author Share Posted March 6, 2008 i want eg, www.example.com/folder/doesntexist.php Link to comment https://forums.phpfreaks.com/topic/94668-custom-error-page-referrer-or-_serverhttp_referer/#findComment-484805 Share on other sites More sharing options...
conker87 Posted March 6, 2008 Share Posted March 6, 2008 Check out .htaccess, google 'htaccess 404' Link to comment https://forums.phpfreaks.com/topic/94668-custom-error-page-referrer-or-_serverhttp_referer/#findComment-484821 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.