This little tutorial shows new users how to make a simple user login with a login form and database query.
This is your most basic version of an image CAPTCHA.
This checks to see if two strings match each other.
This basic snippet will calculate how many seconds it to a script to start and then end.
This will uppercase every letter of a string, unless you tell it not to.
Session Through Domain and Sub-Domains
Allow your domain, and sub domains to share the same sessions.
http://phpsnips.com/62/Session-Through-Domain-and-Sub-Domains
This function will take a time in seconds, and convert it to a duration, such as 120 seconds to 2 minutes. Supports Hours, Minutes, Seconds.
Takes a string and shortens it, but if it is in the middle of a word, go to the next space and end there.
Put your site into "maintenance mode" without disrupting form posts.
A simple lipsum generator, useful if your testing some web templates
Send SMS with Clickatell HTTP Api
Class example to get your balance, and to send an sms using the Clickatell API. No validation happens on the data you submit. This will need to be handled by you. (Maybe I'll add extra code for that later)
This function is mainly for debugging purposes. Basically it shows where all the newlines, carriage returns, nulls, and tabs are located.
Search & Replace Text inside PDF Files in PHP Appl
This technical tip allows developers to replace text in a PDF file using Saaspose Pdf REST API in your PHP applications. Some important steps for performing this task are, enter App SID and App key, build URI, browse pdf file, enter old text, enter new text, Build URI to replace text, Save PDF file on server and Save output stream to disk.
http://phpsnips.com/550/Search-&-Replace-Text-inside-PDF-Files-in-PHP-Appl
This is a more advanced email verification.