Simple Data Sanitization with preg_replace
Sanitizing data is a very important part of any server side scripting language, and it’s no different for PHP. So here is one simple way of sanitizing data using the dreaded REGEX.
Match All Image Tags Using REGEX
While I am busy with the update of The Attached Image (which is taking a while) I thought I’d write a post about something that [...]
PHP Tip #6: str_replace Is Faster
This is probably a very well known tip, but for those new to PHP it’s handy. When needing to replace something try & use str_replace [...]








