Entries Tagged 'PHP' ↓

The Developers and Programmers Passwords 101

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 [...]

Bash.org Clone PHP Script for IRC Quotes

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

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

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

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; [...]