flit Posted September 13, 2008 Share Posted September 13, 2008 Hello everyone, Is it possible to disable url display in the status bar with PHP? Quote Link to comment https://forums.phpfreaks.com/topic/124114-disable-url-display-in-status-bar/ Share on other sites More sharing options...
toivo Posted September 13, 2008 Share Posted September 13, 2008 I hope not ;-) Then every phishing site would be doing it. Regards, Quote Link to comment https://forums.phpfreaks.com/topic/124114-disable-url-display-in-status-bar/#findComment-640780 Share on other sites More sharing options...
flit Posted September 13, 2008 Author Share Posted September 13, 2008 Thanks. I haven't thought about that. I got a page, with a frame to "protect" my source code. But if they can see the URL displayed in the status bar, they can type that in, navigate to a page and see my source code anyway. So that is why I was trying to hide the URL in the status bar. Quote Link to comment https://forums.phpfreaks.com/topic/124114-disable-url-display-in-status-bar/#findComment-640785 Share on other sites More sharing options...
ukweb Posted September 14, 2008 Share Posted September 14, 2008 Hi. Even if you were to cloak your url, there's still the old 'right click' --> 'View Page Source' Your best bet is to disable right clicks on your site using some form of javascript solution, but the options to view source is still available in the menus somewhere. Just a suggestion to reduce the chances of peeps seeing code but I think viewing page source is something you can't completely stop people from doing. Your PHP code is never viewable through browsers because it stays serverside, so your creativity can't be exploited with ya web apps ;-) Quote Link to comment https://forums.phpfreaks.com/topic/124114-disable-url-display-in-status-bar/#findComment-640791 Share on other sites More sharing options...
flit Posted September 14, 2008 Author Share Posted September 14, 2008 Thanks. You are right I don't think that you can completely stop people from viewing the source of a html page. When you disable right clicks with javascript, they can disable javascript in their browser and they can still right click. Quote Link to comment https://forums.phpfreaks.com/topic/124114-disable-url-display-in-status-bar/#findComment-640804 Share on other sites More sharing options...
Daniel0 Posted September 14, 2008 Share Posted September 14, 2008 Not with PHP, but with Javascript. You can use the onmouseover event to override the status bar contents. Quote Link to comment https://forums.phpfreaks.com/topic/124114-disable-url-display-in-status-bar/#findComment-640985 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.