php script to count visitors to site
Marty Landman
MLandman at face2interface.com
Wed Mar 3 17:20:16 PST 2004
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
FormATable DB: http://face2interface.com/Products/FormATable.shtml
Make a Website: http://face2interface.com/Home/Demo.shtml
Free Formmailer: http://face2interface.com/Products/Formal.shtml
More information about the freebsd-questions
mailing list