From owner-freebsd-questions@FreeBSD.ORG Wed Mar 3 17:20:16 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9526916A4CE for ; Wed, 3 Mar 2004 17:20:16 -0800 (PST) Received: from www6.web2010.com (www6.web2010.com [216.157.5.254]) by mx1.FreeBSD.org (Postfix) with ESMTP id 551EC43D2D for ; Wed, 3 Mar 2004 17:20:16 -0800 (PST) (envelope-from MLandman@face2interface.com) Received: from delliver.face2interface.com (dialup-wash-129-203.thebiz.net [64.30.129.203] (may be forged)) by www6.web2010.com (8.12.10/8.9.0) with ESMTP id i241JxuK015835; Wed, 3 Mar 2004 20:20:00 -0500 (EST) Message-Id: <6.0.0.22.0.20040303201501.052a4790@pop.face2interface.com> X-Sender: face@pop.face2interface.com X-Mailer: QUALCOMM Windows Eudora Version 6.0.0.22 Date: Wed, 03 Mar 2004 20:20:09 -0500 To: fbsd_user@a1poweruser.com, "freebsd-questions@FreeBSD. ORG" From: Marty Landman In-Reply-To: References: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Subject: Re: php script to count visitors to site X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 04 Mar 2004 01:20:16 -0000 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. 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. 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