php script to count visitors to site

Kevin D. Kinsey, DaleCo, S.P. kdk at daleco.biz
Thu Mar 4 09:52:13 PST 2004


Marty Landman wrote:

> At 07:57 PM 3/3/2004, fbsd_user wrote:
>
>>  I have an php script to read a file bump the counter and write it
>> back.
>>
>> Need html sample code to jump to the php script and return with the
>> counter value and display it.
>
>
> <?php
>         counter();
> ?>
>
> Just put those lines on your page file where you want the numbers to 
> show up. This assumes that the php script is on the same directory as 
> the page file and called counter.php.
>
> Since it's embedded in a static html file (much like a server side 
> include) you can tag around it, e.g.
>
> <b>
> <?php
>         counter();
> ?>
> </b>
>
> if you wanted it in a bold font.
>
> Marty Landman   Face 2 Interface Inc.   845-679-9387



ROFLMAO!!

KDK


More information about the freebsd-questions mailing list