If you’ve ever designed a user registration script, a membership site or any script that creates or stores user passwords, there are some practices which every good developer should be aware of. While most small scale applications are not in danger of being targeted by anyone with malicious intent (simply due to the fact that [...]
Entries Tagged 'PHP' ↓
The Developers and Programmers Passwords 101
February 3rd, 2010 — PHP
Bash.org Clone PHP Script for IRC Quotes
July 27th, 2009 — PHP
Having had a few hours free last night and being part of a rather quirky IRC server I decided to code up a clone of Bash.org’s quote database system. My script replicates and clones bash.org almost entirely and has the following features: Stores an almost infinite number of quotes or comments. Allows users to rate [...]
PHP Jokes and Puns
July 24th, 2009 — PHP
For no specific reason whatsoever, here are a collection of PHP Jokes and puns. Most of which are terrible. Q: Why do PHP programmers dislike ASP programmers? A: ASP programmers only write basic code. Q: Why is PHP freddy krugers language of choice? A: addslashes(); What did the PHP script say to the server? Pass [...]
How to Use Akismet in Your Own Plugins and Applications
November 7th, 2008 — PHP
Akismet, for those who don’t know, is an excellent and free plugin which comes installed and activated with each copy of WordPress. When activated, all comments submitted to your blog will pass through Akismets database which checks to see if the comment is recognized as spam. If so the comment is held in a moderation [...]
Find the pagerank of any page, site or URL using PHP
October 29th, 2008 — PHP
This is a set of simple functions to find the Google pagerank of any page or site. It basically pretends to be a web browser using the Google toolbar which displays the pagerank to the user. function StrToNum($Str, $Check, $Magic){ $Int32Unit = 4294967296; // 2^32 $length = strlen($Str); for ($i = 0; $i < $length; [...]
