Re: PHP Counter on HTML Page

From: Date: Mon, 11 Aug 2003 16:50:48 +0000
Subject: Re: PHP Counter on HTML Page
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-159149@lists.php.net to get a copy of this message
PHPSpooky wrote:
Astrum Et Securis! I don't want to use iFrames.. is there any other way? I want to use my own php counter with lil information.. which updates the database on page load incrementing the counter and catching the few Server Variables.. and just display the Hits on that page. However.. that page is an HTML page.. not a php page. Is there any solution to this?
Write a PHP script that makes the image for you using GD or Imagemagick, then just include it like any other image: <img src="counter.php"> -- ---John Holmes... Amazon Wishlist: www.amazon.com/o/registry/3BEXC84AB3A5E/ PHP|Architect: A magazine for PHP Professionals – www.phparch.com

« previous php.general (#159149) next »