This function is mainly for debugging purposes. Basically it shows where all the newlines, carriage returns, nulls, and tabs are located.
This class has lots of common functionality built right into it. It also supports Mysql and Sphinx.
Need to convert miles to feet, or feet to mile or even inches? Using this function you can convert one to the other.
none for now
Return strings that are between two start and stop positions.
This will take a string and if it is too long shorten it and add 3 dots to the end of the string.
scope of is_https is to check whether HTTPS is used or not
Gets a subset of words from a string.
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]
Count the total number of words in a string.
Validating email address using regular expression. This Regex can be used to search email addresses on text that produce list of emails in array, and also match email format from HTML form input.
This simple snippet will help new PHP users learn how to create and use a variable.
Returns the complete class hierarchy of an object or a class name. Can be used as method or function. If you have any trouble with the LGPL licence send me a mail.
Take an array, and display it in a textarea.
Ever see those sections on websites where some links are bigger than others? This is that! Simply passs an associative array of strings, and "weight", then echo the result.
Is your server in some other timezone, and date functions display the date in another time? use this code to change that, to any timezone you would like.
An easy way to send an HTML email with an attachment.
Searh a database, and sort the results using page numbering to split up the data.