Articles |
 |
Developer News |
 |
|
|
| Want to receive new articles via e-mail? Click here! |
/Home
/PHP
 |
IP Retrival & hit counter with PHP/GD Library image editing  |
|
|
|
|
Synopsis:
This tutorial shows how to make a PHP image which generates IP Address of the PC viewing it and act as a HIT counter . |
|
|
The Article
5. Grant counter.txt CMOD 777 ( right click in FTP > properties > all previlages)
6. Then call index.php in your browser . that`s it.
TIP:
1. You can link to the index.php with the normal image tags.
2. If you upload these files to a folder called pic.gif you will be able to use it on forums by using the url yoursite.com/pic.gif
and it will run the index.php and output the image, Useful if the site or forum don't allow php images or html code.
3. You can enter any no. in counter.txt the image will show that much hits !!!! LOL
4. this is the final image

----------------- Sreejith
www.indianwebdevs.com
|
|
|
| Similar/related articles:
|
|
|
|
Sponsors |
 |
|
|
|