While regular expressions are often used for input validation, I also find them very useful for cleaning malicious code in user input. For this I used the function preg_replace. The idea is that I only allow certain characters through...
For such an important function, there seem to be very few examples out there...
Any input that you get from a user should be cleaned for malicious code. Here are some simple functions that will help...
Details on how to turn debugging on and off, adjust session timeouts and more...
Details on how to create friendly urls in CakePHP... |
POPULAR BLOG TAGS
mailto
1984
class
ableton
spam
drum machines
regular expressions
color
usort
privacy
mit
whoami
code
germans
release
magazine
rot13
mbta
flash
sports
php5tube
general
debuggeddesigns
email
encryption
published
boston
gmail
defcon
youtube
brain
hobnox
skateboard
charlie
cakephp
bakery
captcha
security
open source
trice
php
launch
science
snowboard
google
routes
quicksilver
geek
as
orwell
|