PHP Classes

File: example.php

Recommend this page to a friend!
  Classes of Stanislav Karchebny   Simple text-based counter   example.php   Download  
File: example.php
Role: Example script
Content type: text/plain
Description: Example
Class: Simple text-based counter
Simple counter
Author: By
Last change:
Date: 21 years ago
Size: 117 bytes
 

Contents

Class file image Download
<?php
include("counter.php");

$pageViews = Counter::getCount();

echo
'You are visitor number '.$pageViews;
?>