Email validation PHP Script

Last updated on January 4th, 2022 at 11:48 amClick to rate this tutorial! [Total: 0 Average: 0]The below function will valide the email address, Function to validate email address in PHP Detailed explanation of the regex above. ^[a-zA-Z0-9._-][email protected][a-zA-Z0-9-]+\.[a-zA-Z]{2,4}(\.[a-zA-Z]{2,3})?(\.[a-zA-Z]{2,3})?$ The ^ sign represents the beginning of the string. [a-zA-Z0-9._-] a-z Matches character range “a” to “z” […]

Find number of days between two dates PHP

Last updated on November 16th, 2015 at 09:58 amClick to rate this tutorial! [Total: 1 Average: 5]A simple script for this New Year . This php script will help us find the number of days between two dates. You can give date manually or pass dynamically. Here i have given time() as the start variable. […]

How to create preloader before image load using CSS

Last updated on February 27th, 2022 at 11:42 amClick to rate this tutorial! [Total: 4 Average: 3.8]This is a simple tutorial to add a preloader (loading gif) similar to old flash preloaders on your website 🙂 interesting huh , just check out this simple tutorial of how to implement the same.Just needed to add some […]

View source code of web page using Javascript

Last updated on February 7th, 2022 at 01:04 pmClick to rate this tutorial! [Total: 1 Average: 4]If you want to View source code of web page using Javascript then here is a simple example just copy and paste the script below to your webpage and press the View Source button. This script is no longer […]