From owner-freebsd-questions@FreeBSD.ORG Thu Mar 4 09:52:13 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 410ED16A4CE for ; Thu, 4 Mar 2004 09:52:13 -0800 (PST) Received: from ns1.tiadon.com (SMTP.tiadon.com [69.27.132.161]) by mx1.FreeBSD.org (Postfix) with ESMTP id D234043D1D for ; Thu, 4 Mar 2004 09:52:12 -0800 (PST) (envelope-from kdk@daleco.biz) Received: from daleco.biz ([69.27.131.0]) by ns1.tiadon.com with Microsoft SMTPSVC(6.0.3790.0); Thu, 4 Mar 2004 11:52:33 -0600 Message-ID: <40476CC9.5040804@daleco.biz> Date: Thu, 04 Mar 2004 11:52:09 -0600 From: "Kevin D. Kinsey, DaleCo, S.P." User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.6) Gecko/20040212 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Marty Landman References: <6.0.0.22.0.20040303201501.052a4790@pop.face2interface.com> In-Reply-To: <6.0.0.22.0.20040303201501.052a4790@pop.face2interface.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 04 Mar 2004 17:52:33.0812 (UTC) FILETIME=[78D4AD40:01C40211] cc: fbsd_user@a1poweruser.com cc: "freebsd-questions@FreeBSD. ORG" 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 17:52:13 -0000 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. > > > 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. > > > counter(); > ?> > > > if you wanted it in a bold font. > > Marty Landman Face 2 Interface Inc. 845-679-9387 ROFLMAO!! KDK