Stop SQL Injections in PHP using two lines of code

September 26th, 2007 |

I know this isn’t original, but I’ve been using it for years and it saves me constant frustration trying to make sure I have protected all my inbound variables. To use this, you will need the Sanitize PHP file which is part of the PHP Filters package that can be found at: http://www.owasp.org/index.php/OWASP_PHP_Filters

Here you go:

<?PHP
	require_once 'sanitize.php';

	$_REQUEST = array_map( 'sanitize_sql_string' , $_REQUEST );
?>

This will pass all the values in the $_REQUEST array through the function sanitize_sql_string.

BuzzWord, check it out!

November 30th, 1999 |

The BuzzWord preview has gone up on labs.adobe.com. You can check it out here: preview.getbuzzword.com.

For the uninitiated, Adobe BuzzWord is a online word-style editor. Pretty amazing stuff. Lets you even share your documents to other users in multiple different roles.

Awesome Gainesville Based Photographer

November 30th, 1999 |

I thought I would take this time to plug a photographer I respect quite a bit here in Florida. I got the chance to meet Rob Witzel recently; Rob specializes in Wedding Photography out of Gainesville, FL. Rob’s work is amazing, I would encourage anyone in Florida seeking a professional photographer to look Rob up. We brought him all the way down to Naples to do our corporate photography. It was completely worth it. The shots he took are fantastic. Paying Rob for travel time shouldn’t matter if you are looking for grade A work.

Amazing Adobe Tool

November 30th, 1999 |

Adobe codename Thermo is new app Adobe is developing that will greatly increase the quality of how developers and designers co-exist in the web application lifecycle.

Thermo IconImagine having one of your graphics people develop a perfect representation of your UI in Photoshop, import that directly into Thermo and have a working UI that looks exactly the same. Sounds too good to be true right? Wrong. Adobe has done it. I for one, am eagerly awaiting the beta release.

Add to Technorati Favorites