PHP

PHP Voting System to Increase your Inbound Links

April 11, 2007
Thumbnail image for PHP Voting System to Increase your Inbound Links

Having some sort of web 2 point ohish interactive component on your website is a great way to generate buzz, get users coming back to the site and even generate inbound links. One such component I have seen work well is a voting system, made so much more popular by community driven sites such as [...]

Restict Logins by IP Address

March 7, 2007
Thumbnail image for Restict Logins by IP Address

Today I had to write into an admin area on one of our sites a restriction so that only people at certain IP addresses could log in. I wrote a pretty quick piece of code, but it seems to work nicely enough so I though I would convert it into a quick and dirty php [...]

How to Create a Robust Splash Page

November 3, 2006
Thumbnail image for How to Create a Robust Splash Page

Sending a user to a ‘splash’ page the first time they visit your site seems like a pretty simple task, but its not. At first glance I thought it would easily work a bit like this: Set a cookie on the ‘splash’ page using say: setcookie() that doesn’t expire for a very long time Check [...]