Hugo
I'm getting the following error: Warning: preg_replace() [function.preg-replace]: Unknown modifier ')' in /xxx/xxxxx/xxxx/xxxxxxxxxxx/xxxxxxxxxxx/xxxxx/url-test.php on line 10
Array ( [0] => )
Obviously I've x'd out the real info. But can you help with this error? Thank you!
Jordan
Very neat! The MVC design pattern comes to mind when looking at how you accomplished this. At least the front-loader design portion of it since you have no views or models.
Ack
You're code disappeared! Kinda dissapointing since so many others found it useful.
Ravneel Chand
The code is still on the article page:
http://www.evanbot.com/article/fancy-urls-without-mod_rewrite/3
Matt
Is there a way to do this while hiding the "index.php" ?
I have a folder called "blog" in my directory so that www.domain.com/blog accesses the index.php in the blog folder by default. However if I use the url www.domain.com/blog/18-jan it displays "page not found". www.domain.com/blog/index.php/18-jan works great though.
Travis
Nov. 15th, 2008 8:28 PMSweet! Keep up the awesome posts man!