Entries Tagged 'PHP' ↓
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 comments up [...]
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 me a bottle of water, I’m [...]
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 [...]
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; $i++) {
$Check *= $Magic;
// [...]