How to write PHP code to parse URN
Posted: Sun Nov 08, 2009 11:36 pm
Let us say the url for a blog is http://www.blog.com/myblog. I would assume there is no such php file located at http://www.blog.com/myblog/default.php. I do not even think there is directory called /myblog there. What I believe is when server receives this url submission, it would query the database to get the result based on the urn of /myblog.
Correct me if my assumption is wrong. If my assumption is right, or I would like to do that way, how to write such codes?
Thanks a lot. I tried to search google but could not get any information about this. I guess I did not get the right key words for this.
Correct me if my assumption is wrong. If my assumption is right, or I would like to do that way, how to write such codes?
Thanks a lot. I tried to search google but could not get any information about this. I guess I did not get the right key words for this.