Static URLs with ForceType and PHP
By Jaisen Mathai2005-03-30
Damn the ?'s and &'s
You've probably seen this in place already, but of course you never knew how those developers achieved such a task. Which is why you are here. An example of a friendly url would be http://yoursite.com/articles.php/2901/. Compare that to http://yoursite.com/articles.php?articleid=2901. The horror!
The benefits are not only clean looking urls but also urls which are easy to remember an to pass on to hot chics and family.
In this tutorial we'll be using Apache's Files / FilesMatch and ForceType directives to keep the users address bar nice and tidy. We'll be using PHP to serve up the dynamic content with the help of Pear's Numbers_Roman class to display numbers as roman numerals.
Tutorial pages:
|
|
|||||||||
You might also want to check these out:
|
Leave a Comment on "Static URLs with ForceType and PHP"
You must be logged in to post a comment.
Link to This Tutorial Page!

