Jump to content

How to stop URL editing


ZoundZ

Recommended Posts

This is my first post, so hello. :)

 

I was hoping someone had an idea on how to do this, because even though I'm a decent with PHP, I have no idea how it's done.  I want to make it so people can enter in my website URL(like this : www.mysite.com/) , but, I want to make it so that if they enter in something after the slash(like this: mysite.com/blah.php) they get an error.  Anyone know how this can be done?  I want them to access blah.php, but only by a link on my website, not by entering it in themselves.

 

 

Thanks in advance for any help I receive. :)

Link to comment
https://forums.phpfreaks.com/topic/82978-how-to-stop-url-editing/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • 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.