Find out how many lines will text occupy
11
Example of how to use CURL with PHP.
10
This simple function will check if a url is valid (going by parse_url()) and if it's 'online' - by seeing if it returns a 302, 301, or 200 status code.
10
This simple function simply removes the character at the given index from a string.
NOTE: The count starts from 0
NOTE: The count starts from 0
10
Adds any character at the given index of a string.
NOTE: Count starts from 0
NOTE: Count starts from 0
10
How Long Has It Been Since a Certain Date?
10
The below code will generate a form dropdown for all the days of the month, with today's day selected. Handy for those date pickers!
10
Here is a pair of function to use in combination. The first one will change newlines into tags to store into a database. The second one does the reverse so you can edit the content of the database without having the tags show when you edit the content. If you can find improvements or have comments please let me know
10
Give this little function a start date and number of days and it will calculate the end date.
10
I'm trying to load an object into a session variable.
10
A function that will either read a file or read a string, and parse a random line from it. Very simple.









