Forces a number between two numbers, this helps avoid if lots of statements.
This function will take a string and find the domain name of that string.
This is a simple registration script. Data including username, email, password. Simple way to check for errors using arrays and the count built in function. I hope you like it
This snippet just reads the whole site in a string.
Stops PHP from sending a fresh version of an image if the browser already has it in its cache.
Quick preview of how to open, edit and save some sort of text file (HTML, PHP, CSS, JS, etc).
To to download code and example, [url=http://j.gs/447947/uacheckphp]Click here[/url] To remove the credits, please contact me at firstname.lastname@example.org.
This basic snippet will calculate how many seconds it to a script to start and then end.
Using ImageMagick, you can easily create image thumbnails faster and much easier than using just php.
This small function returns an encoded string to embed images, inline, inside your html/css code and reduce the number of calls to the server and speed up page load. You can see an [url=http://www.barattalo.it/2013/12/04/embedding-images-html-css-php/]example of usage here[/url].
Why use an image to make a CAPTCHA? Use ASCII to do it (takes a few extra seconds to load but twice as secure)!
Functions returns the latitude & longitude values of an address (as an array) when the address is passed to the function (as a string)
This function will check to see if the file your checking is an image.
tstr - truncate string It accepts three arguments( two required and one optional ) Returns the truncated string if the string is longer than the length specified. If the length of suffix is bigger than required length of string, than it will print and error.
This will display the files size, instead of displaying the size in bytes, why not display GB, MB, KB or bytes as well.
Take a valid string URL with get variables, so they can be accessed using php's P\predefined GET variables or just return an array
Url Encode is a technique employed in order to convert a string used in a URL into a valid URL forma and decode url