iNET Interactive - Online Advertising Agency
          
   Home    Authors    About    Login    Contact Us
   Search:   
Advanced Search     
  Articles

  ASP (26)
  ASP.NET (19)
  C and C++ (4)
  CFML (2)
  CGI and Perl (16)
  Flash (2)
  Java (7)
  JavaScript (28)
  PHP (92)
  MySQL (13)
  MSSQL (3)
  HTML (34)
  SEO (9)
  Visual Basic (12)
  CSS (13)
  SSI (5)
  XML (12)
  C# (14)

  Developer News

May 15, 2008
Reader Question - Would you host your client's work on your website?
About
 
May 15, 2008
How to Create an Ajax Autocomplete Text Field: Part 6
WebReference.com
 
May 14, 2008
Poll: Are the browser safe colors still needed?
About
 
May 14, 2008
Google Doctype launched
About
 
May 14, 2008
Web Editor Reviews - 6 New Reviews
About
 
May 14, 2008
Build Beautiful Buttons in Photoshop, Part I
SitePoint
 
Courtesy of moreover.com
 
Want to receive new articles via e-mail? Click here!
/Home /PHP

IP Retrival & hit counter with PHP/GD Library image editing 

  Views:    10508
  Votes:    4
by Sreejith Rk 3/07/05 Rating: 

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 .
Pages: firstback1 forwardlast
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
Pages: firstback1 forwardlast

Similar/related articles:


 
  Sponsors