Categories
PHP Development

PHP String Contains

PHP String Contains is a simple function I created. Quiet similar to strpos or strstr, but in my case, I have used this in most of my projects since its function name is more readable and understandable. I find it to be cleaner, also, as it is returning boolean instead of int. <?php if (!function_exists('str_contains')){ […]

Categories
Personal Projects PHP Development

PHP Email Forwarder

PHP Email Forwarder automatically gets all unread message from a specified IMAP/POP3 email account. Then forwards using PHP Mail() it to another email address or list of email addresses. You may use this for your company email, in which, messages received can be forwarded to multiple employees.

Categories
PHP Development

PHP Combine Path

PHP Combine Path, roughly equivalent to .Net’s Path.Combine where this combines two strings as path, handling when to place separators between two strings.