I have written a php cms that allows users to create a virtual name for each menu entry eg. home.html instead of things like index.php?page=1. The ErrorDocument is then pointing to a php script which is responsible for finding the correct content and presenting it to the user. I noticed the...
I am taking a string and trying to convert it into a url friendly version. In short, I need spaces changed to "_" and only letters and numbers. e.g "Special's Menu Today?" -> "Specials_Menu_Today.html"
I can use str_replace for some parts or make an array of valid/invalid characters, but I'd...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.