I own and have read Mastering Regular Expressions (excellent book). I've
programmed perl for 3 years and have recently started migrating one of my
projects into php. I can't stand ereg, I prefer preg. While functions such
as substitute and match differ in syntax from perl to php, this book will
This would only be true if your javascript files were parsed with php. If
not, then php can't do anything about it of course. Look into mod_rewrite. I
haven't used it in the sense that you're looking for, but I don't see why
you couldn't.
http://httpd.apache.org/docs-2.0/misc/rewriteguide.html
Here's a good primer on mod_rewrite:
http://www.freebsddiary.org/rewrite.php
I used it to accomplish the following...
A user hits a url of say: http://foo.com/84838
I then want to return an object out of our database who's id is 84838. A 404
handler will not help in this case. So, I chose to
no such thing as a stupid question...
I strongly disagree. Refer to the topic: RTFM. A stupid question is one
that is posted to this message board before the poster bothers to do a shred
of independent thinking. I've seen way too many of these questions come
through this list. The MySQL list
4 matches
Mail list logo