PHP Snippets
From JumbaWiki
Here you will find a list of useful PHP Code Snippets that have been found invaluable by the Jumba community. Feel free to use them and make appropriate mention to sources.
Contents |
PHP Basics
- For more information, see main article: PHP Basics
Code Snippets
Security
- PHP Generate random password
- Captcha, Random validation image- http://www.finalwebsites.com/snippets.php?id=39
- PHP Password protection
- Form Security for Post Hijacking - http://www.anders.com/projects/sysadmin/formPostHijacking/
Miscellaneous
- No caching
- View awstats outside of cPanel (from http://www.totallyphp.co.uk)
- Which Server - find out what server you are hosted on
- PHP Pagination
- PHP Upload
- PHP Back link checker
- PHP Prevent multi submit
See also
External links
- Official PHP API/Guide - http://www.php.net/
- TotallyPHP - http://www.totallyphp.co.uk/
| Code Snippets |
|---|
| ActionScript | ASP | ASP.NET | CGI | ColdFusion | CSS | HTML | Java | JavaScript | JSP | MySQL | PHP | Perl | XML | XHTML |

