It's 2019 and PHP is *still* teaching people to concatenate SQL and vaguely-sanitized user input instead of using prepared statements. http://php.net/manual/en/mysqli.examples-basic.php … They got rid of the mysql module... only to teach people to use mysqli the same way. This is why SQLi isn't going away.
-
-
-
Replying to @mpeg4codec @marcan42
...is that bad? I just started yesterday because I wanted to learn server-side scripting for my website.
5 replies 0 retweets 1 like -
Replying to @kneefacedbb @mpeg4codec
PHP is easy to get started with, but *very* easy to find terrible advice for, and learn poor practices on. The web is full of absolutely terrible PHP examples. If you don't have a very compelling reason to use PHP, you might learn better with another language.
1 reply 1 retweet 3 likes -
If you do stick with PHP, you're going to have to either quickly develop a sense of what's good vs bad advice (which is probably really difficult for a newbie), or accept that you're going to be accidentally making bad habits that you're going to have to unlearn later.
1 reply 0 retweets 3 likes
Other languages like Python 3 tend to have a higher baseline quality of examples on the web, and are better designed overall. I would recommend that. OTOH, if you want to develop on top of an existing PHP framework, then yeah, that makes sense.
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.