Ive got a Pagerank checking script to share with you. Its written in PHP. From the outside its very simple, however the insides are quite complicated. There are some comments on it but if you are not an experianced PHP programmer you will not understand most of it. To change the site it checks you have [...]
Continue reading...Friday, November 7, 2008
Showing a users IP address is very easy. We use a function called getenv ( ) to do so. Here is the code: <?php echo getenv('REMOTE_ADDR'); ?> Simple as that… Heres a demo please wait...Rating: 9.1/10 (7 votes cast)
Continue reading...Wednesday, November 5, 2008
In this tutorial Im going to show you how to make a random advert rotator. The way we are going to do it is through an array to define our adverts then use an array function to shuffle the array. So the first thing we need to create the array… $adverts=array('<a href="http://www.website.com"><img src="image.gif" alt="" /></a>'=>'1','<a href="http://www.website.com"><img src="image.gif" alt="" [...]
Continue reading...
Saturday, November 8, 2008
2 Comments