FuzzyLogik Posted December 14, 2006 Share Posted December 14, 2006 All I want to do is catch pretty much everything...basically, I want people to be able to put the following into the address bar, and land on the same page:mysite.com/this_is_an_examplemysite.com/this is an exampleso basically I want to replace spaces with underscores (as it ultimately redirects to:mysite.com/index.php?page=this_is_an_example3The other problem is allowing numbers in the string, so this would work as well:mysite.com/catch 22(page=catch_22)ormysite.com/l33t(page=l33t)I suck as the regexp :'(Can anyone teach me?thanks. Quote Link to comment Share on other sites More sharing options...
HuggieBear Posted December 19, 2006 Share Posted December 19, 2006 OK, first of all you're going to need to setup your webserver to serve a custom php file instead of a default 404 message. Have you done this or can you do this?RegardsHuggie Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.