Category PHP code

We post new PHP code snippets from time to time. If we need to write some code which might be useful for others, you will find that code in this category. From time to time we write PHP tutorials, too. Sometimes our code snippets are written for a special case and they might not fit in your own application. In that case we hope that our code was helpful and good enough for a quick study. If you like to share your own code, just submit the snippet to the support section.

If you look for the other PHP classes, please check our PHP script archive.

MIME type detection for PHP file uploads

This weekend was my website offline for 3 hours because my hosting provider has detected a malicious file inside the upload directory I use for some PHP upload demo on my website. This breach was (also) possible because I forgot several month ago to update a CRON job...

Free Email Address Validator

Sending e-mail messages within your web application is an important function and is often the only way to get in contact with your customer. How often have you got some email message from a potential customer with an invalid email address? Sure you can use advanced...