If you are not registered or logged in, you may still use these forums but with limited features. Show recent topics
  [Search] Search   [Hottest Topics] Hottest Topics   [Members]  Member Listing   [FAQ]  FAQ 
[Register] Register / 
[Login] Login 
How to use Daily Counter PHP in HTML pages  XML
Forum Index » General Discussion
Author Message
ET
Graduate

Joined: 21/02/2003 22:17:48
Messages: 179
Offline

I have now modified the php script of the Daily Counter so that you can pull the php into your html pages without needing to convert to php. The modified SSI (Perl) description is in another thread.

1) Create a page called javascript.php
2) Copy/paste the following code into that page and then save it



3) upload the javascript.php to your server/website along with the rest of the php pages needed for the daily counter. (This works fine without using MySQL.)

4) Then, on your html pages that you want the counter on, use the following javascript to pull in the php counter and load them onto your website.



I'm not around much to help with problems or questions. Just thought I would post this for people who want to use the script without needing to change their web-pages over to php pages.
D.A.
Beginner

Joined: 05/02/2005 03:42:19
Messages: 5
Offline

Thanks.
 
Forum Index » General Discussion
Go to:   
Based on the open source JForum