Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
As someone who's never worked on a real life project, may I ask what are the wrong behaviors here?
-
@oscarascal SQL injection in the file name field and 2 sql-escaped variables that aren't even part of the query
-
Using $update before assigning a value... Also, why not using PDO with PreparedStatements?
Incrementing $i instead of breaking the cicle? Pls give me the shotgun
"Our last lead-developer was a real smart guy, he modernized the legacy code and we all learned a lot from him"
I need a beer, and a shotgun.
undefined
php legacy shootme