Jump to content

Protecting my site undersite links


lotfi17

Recommended Posts

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  :).
Link to comment
Share on other sites

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.
Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.