jej1216 Posted June 24, 2011 Share Posted June 24, 2011 I need to hide the url as well as the menus from the web browser only when one php page is displayed. Can this be done in php code? TIA, Joe Quote Link to comment https://forums.phpfreaks.com/topic/240327-can-php-code-be-used-to-hide-the-url-in-the-web-browser/ Share on other sites More sharing options...
Maq Posted June 24, 2011 Share Posted June 24, 2011 AFAIK, this can't be done. Why do you need to do this anyway? Quote Link to comment https://forums.phpfreaks.com/topic/240327-can-php-code-be-used-to-hide-the-url-in-the-web-browser/#findComment-1234462 Share on other sites More sharing options...
WebStyles Posted June 24, 2011 Share Posted June 24, 2011 If you mean when a new window is opened (popup) and you want to hide all the browser buttons, no, you cannot do it with Php. Since the browser is installed on the client computer, the control over it is client-side, and php is a server-side language, therefor, you need to use javascript to open a popup. Hope this helps Quote Link to comment https://forums.phpfreaks.com/topic/240327-can-php-code-be-used-to-hide-the-url-in-the-web-browser/#findComment-1234487 Share on other sites More sharing options...
ZulfadlyAshBurn Posted June 25, 2011 Share Posted June 25, 2011 I agree with what WebStyles replied. You may also want to encode your url such as it wont read the actual path of the domain. create a mdhash then pass it thru post method or get method then also create a session and expire it once used. Quote Link to comment https://forums.phpfreaks.com/topic/240327-can-php-code-be-used-to-hide-the-url-in-the-web-browser/#findComment-1234675 Share on other sites More sharing options...
jej1216 Posted June 27, 2011 Author Share Posted June 27, 2011 Thanks, I'll look at Javascript. This is a view only schedule board - I don't want the user navigating away from the page. - Joe Quote Link to comment https://forums.phpfreaks.com/topic/240327-can-php-code-be-used-to-hide-the-url-in-the-web-browser/#findComment-1235455 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.