View Single Post
Old 07-23-2012, 08:25 AM  
SpotOnTechSupport
Confirmed User
 
SpotOnTechSupport's Avatar
 
Industry Role:
Join Date: Mar 2011
Location: Mansfield, Ohio
Posts: 119
Quote:
Originally Posted by FoxtrotAlpha View Post
That sounds horrific haha. I'd be in the same situation if I accepted the job I mentioned.

I blame all these freelancer websites (e.g. freelancer.com) since people often go for the cheapest person/team which then turns out to be a bunch of inexperienced programmers. At least you're getting paid hourly, because that'll take many, many hours by the sound of it :p
I don't think there's any reason to not use PDO or MySQLi these days, considering you can just prepare the statements and have input automatically sanitised, or even bind variables to simplify the logic.

Good luck with it, though, your client should be extremely happy once you're done, considering anything would be better than it is now.
We're slowly getting there. I was just totally surprised when I saw $_GET going into a variable and then direct into the database without any type of sanitizing at all. I ran my vuln scanner (webvulscan and Acunetix) against it and almost fell out of my chair. Now I can hold up my head and say "How many vulns? 0". It's helpful having those tools at your disposal while coding.
__________________
'cuz you're too busy dealing with other stuff to mess around with bad hosting!
Prices start at $2.99 for shared hosting, $80 for managed dedicated!
SpotOnTechSupport is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote