Enabling PHP short tag

PHP, 2015-06-21 06:47:26 UTC
Today I am dealing with bad code. PHP short tag <? that does not run with the current standards. And the other bad thing is the HTML format is very bad. So many wrong close tags, bad HTML formatted, bad CSS and spaghetti code. The code wrote by a senior PHP programmer. But he must reali

A simple PHP class for sending email with attachments

PHP, 2015-06-16 23:55:29 UTC
Mail delivery feature is very important in a web-based applications. Many of developers use the library on the application. Some of the famous library are Swiftmailer and PHPMailer. Using library is simple but I think more simple is create a function or a class. So, you know exactly what is going on.