Twitter API with Zend Part 1. Post Moved to ReinforceMedia.com… » Read More
September 10th, 2009 § 0 comments § permalink
Twitter API with Zend Part 1. Post Moved to ReinforceMedia.com… » Read More
August 31st, 2009 § 0 comments § permalink
I was working on a site and noticed something that concerned me. This is fodder for TheDailyWTF and makes me worry for the fate of any person who receives the results of forms with [non-]“validation” like this. The form element: <select name="favorite-color"> <option>Favorite Color – Choose One</option> <option value="blue">Blue</option> <option value="red">Red</option> <option value="orange">Orange</option> <option value="green">Green</option> <option value="black">Black</option> </select> Here is what was in the processing script: switch ($_POST["favorite-color"]) { case "blue": case "red": case "orange": case "green": case "black": $data["favorite-color"] = $_POST["favorite-color"]; break; } … //data is appended to a string – matt's comment not a "real" comment in the script $string .= $data['favorite-color']; So… What is wrong with this? OMG what isn’t wrong with it? The select… » Read More
August 14th, 2009 § 0 comments § permalink
In your .htaccess just do this: RewriteEngine on RewriteRule ^([A-za-z0-9]+)/?$ user.php?name=$1 This will ignore php files, and any files that are requested deeper into the site like JS or CSS. Sphere: Related Content… » Read More
January 18th, 2009 § 0 comments § permalink
Matt Bernier provides a list of services for your web-based needs including proposal consulting, website consulting, search engine optimization consulting, and website development. If you are interested in any of these services please contact me ASAP. Sphere: Related Content… » Read More