Proudly serving snaps since 2008. What is a snap? It is a small snippet of PHP source code ready to be used from programmers or ordinary people who have a website and need help.
How to make a PHP OOP login system tutorial, with source code download
By steve
Can be used when you want to clean telephone numbers
Force HTTPS
Convert Numbers into words
By NiNjA_HaCkEr
zend validation
By mjv123
This code allows to list the contents of any given directory.
By apphp-snippets
This code allows to pass filename in the $file_name variable and function will return file extension only.
ConsoleCaptcha generates text based images with symbols, which enough easily can be read by humans, but difficulty can be read b…
By VanDerSaAr
Sometimes it's desirable to change a style of the first and/or last elements in a container. You can do this by manually applyin…
You may add rounded corners to your CSS3-based elements, like a border or button. You can change the radius to increase or decre…
Most today's web browsers like Firefox (Ctrl+D), Opera (Ctrl+T) and IE (Ctrl+D) provide a keyboard shortcuts to enable users boo…
You can use JavaScript window.location to redirect a visitor to a required page. You may have seen this feature used by sites wi…
Want to share your source code? Create your account and join our community!