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.
Allow your domain, and sub domains to share the same sessions.
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
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.
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.
This is a more advanced email verification.
This technical tip shows how developers can split worksheets of an Excel workbook to a separate workbook, TIFF, PNG or any supported image format in the cloud. This example allows you to split all or specific worksheets of a workbook file and save each worksheet as a new workbook, TIFF or any supported image format using Aspose.Cells for Cloud API in your applications.
Example of how to use crypt() to store passwords securely in a database.
A very simple rendered for PHP based templates. Not a template language, just a simple wrapper that handles undefined template variables, helper functions, and turning a phtml file into a string. If you're using some kind of framework, you probably shouldn't be using this. I threw this together to be pasted (yes, pasted, if you have composer up and running, pull in a real template library) into exsisting legacy projects and turn classic HTML with embedded PHP into a bit more up-to-date PHP rendered templates. Source: [url=https://github.com/tjlytle/Render]Github.com[/url]