lotfi17 Posted November 20, 2006 Share Posted November 20, 2006 Hei evreybody, and thanks for the great forum. As I mentioned in subject, would like to hide my site underlinks exempl: www.mysite.net is the main page, when I log in to my chat site the adress appears: www.mysite.net/[b]chat.php[/b] . My question is: is it possible de crypt or hide /[b]chat.php[/b]? In advance many thanks :). Quote Link to comment Share on other sites More sharing options...
Orio Posted November 20, 2006 Share Posted November 20, 2006 You can have an invisble frame, so the URL wont change (easy to trick), or you can use some PHP:You can keep the same strucure for your site, but you need to make an extra php file (lets call it show.php). show.php recieves (using $_GET for an example) a page id. That means you need to give every page an id. Let's say the chat's id is 10 so it will be show.php?id=10.Now, show.php is going to switch the value of $_GET['id'], and include the file it needs- in our example, if the id is 10, include("chat.php").Hope it helps :)Orio. Quote Link to comment Share on other sites More sharing options...
roopurt18 Posted November 20, 2006 Share Posted November 20, 2006 You could also look into using mod_rewrite. Quote Link to comment Share on other sites More sharing options...
lotfi17 Posted November 21, 2006 Author Share Posted November 21, 2006 Wish for some more details, still can't figure it. please n00bie can u give more detail about the mode_rewrite. thanks Quote Link to comment 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.