Date: Wed, 03 Mar 2004 20:20:09 -0500 From: Marty Landman <MLandman@face2interface.com> To: fbsd_user@a1poweruser.com, "freebsd-questions@FreeBSD. ORG" <freebsd-questions@freebsd.org> Subject: Re: php script to count visitors to site Message-ID: <6.0.0.22.0.20040303201501.052a4790@pop.face2interface.com> In-Reply-To: <MIEPLLIBMLEEABPDBIEGMEAGFOAA.fbsd_user@a1poweruser.com> References: <MIEPLLIBMLEEABPDBIEGMEAGFOAA.fbsd_user@a1poweruser.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6.0.0.22.0.20040303201501.052a4790>