Date: Thu, 04 Mar 2004 11:52:09 -0600 From: "Kevin D. Kinsey, DaleCo, S.P." <kdk@daleco.biz> To: Marty Landman <MLandman@face2interface.com> Cc: "freebsd-questions@FreeBSD. ORG" <freebsd-questions@freebsd.org> Subject: Re: php script to count visitors to site Message-ID: <40476CC9.5040804@daleco.biz> In-Reply-To: <6.0.0.22.0.20040303201501.052a4790@pop.face2interface.com> References: <MIEPLLIBMLEEABPDBIEGMEAGFOAA.fbsd_user@a1poweruser.com> <6.0.0.22.0.20040303201501.052a4790@pop.face2interface.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?40476CC9.5040804>