Preventing SQL injections is a popular topic. #1 on stackoverflow (for php) and also listed on the OWASP top 10. So what is an SQL Injection? The first part “SQL” refers to Sequential Query Language which is used in querying databases like Mysql, Postgres SQL or mariaDB. The term is meant to be used as a generalization for any database
Believe it or not, Twitter is not the only way to share your thoughts on the internet. Well, in light of recent behavior we’ve come to understand that Twitter is the adult and we all are the teenagers living under their roof. But just like a teenager, there are ways to get away from these rules. Enter Mastadon. No, not
Filtering in PHP is super easy with the built in filter_var() function. Filtering is essential when taking in form input or applying logic to any set of data. This is especially crucial when sanitizing user input in order to prevent XSS and Sql injection attacks. filter_var ( mixed$variable [, int $filter = FILTER_DEFAULT [, mixed$options ]] ) : mixed Grab the code below to see how these functions work and
Interview questions for developers are by nature “trick questions”. I say this because I have seen it too many times. On one hand, the question will be a complex narrative with multiple variables and things to consider, yet the answer is clear and straight forward. And on the other hand there is a very basic questions like this one “What
Exakat Exakat is a tool for analyzing, reporting and assessing PHP code source efficiently and systematically. Exakat processes PHP 5.2 to 7.4 and 8.0 code, as well as reporting on security, performance, code quality, migration. –Exakat docs Static analysis of code is a great tool to use whether for unit testing or in this case security vulnerabilities and malware infestations.
But first…. Are we really at http/3? and what the heck is IETF QUIC? QUIC is a new networking transport protocol that combines the features of TCP, TLS, and more. HTTP/3 is the latest version of HTTP, the protocol that carries the vast majority of Web traffic. HTTP/3 only runs over QUIC. Why do we need this? Blame the xennials.
TypeLit.io is a fantastic idea. This site will let you improve your typing skills by typing actual books. No more typing about foxes and jumping. Typelit will let you choose from 1984, Alice in Wonderland and even the King James Bible.
ANDROID IN A BOX is here to bring any Android OS to your Linux box. Android in a box (Anbox) is a brand new player to the scene making use of containers instead of emulators to bring Android to Linux. Here’s a quick video of it in action. To get started with Anbox your system needs to first use snaps.
This amazing Bash trick comes from Pascal Hirsch on Twitter. It goes like this: Enter a line of Bash starting with a # comment, then run !:q on the next line to see what that would be with proper Bash escaping applied. How does this work? James Coglan explains: The ! character begins a history expansion; !string produces the last command beginning with string, and :q is a modifier that quotes the result;
“The PHP team is pleased to announce the eighth testing release of PHP 8.0.0, Release Candidate 1.” This RC can be found on the official release site php-8.0.0rc1.tar.bz2 2020-09-29 22:46 13M php-8.0.0rc1.tar.bz2.asc 2020-09-29 22:46 866 php-8.0.0rc1.tar.gz 2020-09-29 22:46 16M php-8.0.0rc1.tar.gz.asc 2020-09-29 22:46 866 php-8.0.0rc1.tar.xz 2020-09-29 22:46 10M php-8.0.0rc1.tar.xz.asc 2020-09-29 22:46 866