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: … Continue reading
Posted in Coding, Seriously?
Tagged array data, array index, case black, choose one, color case, concatenated, Database, fate, favorite color, first option, fodder, form, form processing, form validation, hell, html form, null value, omg, option element, orange case, PHP, php errors, sql injection, string concatenation, string data, validation, value option
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.
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. Continue reading
Posted in Coding, Making Money