/how-tos
Articles tagged how-tos.
Detect an Ajax request in PHP
Learn how to detect an AJAX request using PHP
Delete all Docker containers and images
Learn how to stop or delete all Docker containers and images by using a single-line command
How to use optional parameters in URI path in Yii framework
Read about how to use optional parameters in URL manager in Yii framework
How to update fields from another table in MySQL
Read how to update a bunch of fields from another table in MySQL
Unix shell commands to detect a DDoS attack and its source
5 Unix shell commands to check if your server is under DDoS attack and its source
Redis: How to delete keys matching a pattern
How to delete keys matching a wildcard pattern in Redis
Backward version compatibility in PHP web application
How to handle backward PHP version compatibility in your web application
How to recognize a good programmer
How to find a good programmer: most important indicators of a good professional
File search and wildcards in PHP
How to search files in PHP using wildcards and patterns
Concatenating NULL and blank fields in MySQL
How to concatenate empty and null fields in MySQL database
How to protect against SQL injection, and why SQL injection is dangerous
What is SQL injection? Why SQL injection is dangerous? How to protect against SQL injection?
How to trim array elements in PHP in one shot
Remove all leading and trailing white spaces in all PHP array values.
How to get most accurate visitor's IP address in PHP
Learn how to get most accurate user's IP address in PHP.
Reading file list from a mapped Windows network drive
How to read a file list from mapped Windows network drives
MySQL. How to insert a row or update if exists in MySQL.
Insert a row into DB, or update row on duplicated key in MySQL.
How to interview a programmer. Thoughts about hiring process.
A few tips about how to interview and hire a programmer based on own experience.
PHP application performance tuning
20 useful tips for PHP application performance tuning
CSS rounded corners
How to create CSS rounded corners
How to secure your php application
10 useful tips to make your php application safe. Good practices in creating a secured web application
How to protect from spam bots your email published on web site
Learn how to protect your email address against being crawled by spam bots.