greenba Posted October 11, 2006 Share Posted October 11, 2006 Hi,What I would like it to have my domain name to be still, no mather on what page I am.I would like it to be written in the browser www.domain.com even when I am on the page www.domain.com/addus.phpI saw it in phpmyadmin, but I don't know how to do it.regards,Adnan Link to comment https://forums.phpfreaks.com/topic/23642-hide-url-name/ Share on other sites More sharing options...
TEENFRONT Posted October 11, 2006 Share Posted October 11, 2006 Im pretty sure this is only done with the use of frames.So set your index.html file to hold the rest of the site content in a full size frame. Link to comment https://forums.phpfreaks.com/topic/23642-hide-url-name/#findComment-107317 Share on other sites More sharing options...
otuatail Posted October 11, 2006 Share Posted October 11, 2006 Frames are a bad idea.If you repeatedly call the same home page. use a variable or session variableon the index.php page have the followingif(page == 1){include(page1.phpl');} Link to comment https://forums.phpfreaks.com/topic/23642-hide-url-name/#findComment-107319 Share on other sites More sharing options...
TEENFRONT Posted October 11, 2006 Share Posted October 11, 2006 but if he uses the your above suggested he will have to add ?page=x to the url... he said he only wants the domain to show. Link to comment https://forums.phpfreaks.com/topic/23642-hide-url-name/#findComment-107320 Share on other sites More sharing options...
otuatail Posted October 11, 2006 Share Posted October 11, 2006 Not if he sets a session variable Link to comment https://forums.phpfreaks.com/topic/23642-hide-url-name/#findComment-107328 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.