Jump to content

passing in arguments with /


ala888
 Share

Recommended Posts

My guess is that they redirect any URL that doesn't link to an existing file or folder to the same PHP file (probably named index.php)

 

In that PHP file they read the value of $_SERVER['REQUEST_URI'], break it into the pieces they need (with explode(), for example) and use the information to determine which files and database records to show. (using include or require to load files, and those files load data from the database)

 

That's assuming they're using PHP. If it's not PHP then they'd have other ways to determine what's in the URL.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...