From owner-freebsd-questions Fri Jul 14 15:32:21 2000 Delivered-To: freebsd-questions@freebsd.org Received: from rapidnet.com (rapidnet.com [205.164.216.1]) by hub.freebsd.org (Postfix) with ESMTP id 7022A37B914 for ; Fri, 14 Jul 2000 15:32:16 -0700 (PDT) (envelope-from pstapley@rapidnet.com) Received: from imagination (imagination.rapidnet.com [206.85.240.245]) by rapidnet.com (8.9.3/8.9.3) with SMTP id QAA38633; Fri, 14 Jul 2000 16:32:07 -0600 (MDT) Message-ID: <014301bfede3$55d22de0$f5f055ce@rapidnet.com> From: "pstapley" To: , "David Daugherty" Cc: , References: <396F9204.C50DF66D@www3.pacific-pages.com> Subject: Re: newbie of php problem - code shows no output Date: Fri, 14 Jul 2000 16:32:04 -0600 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.2919.6600 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6600 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG you don't have php working then I would imagine. ----- Original Message ----- From: "David Banning" To: "David Daugherty" Cc: ; Sent: Friday, July 14, 2000 4:19 PM Subject: Re: newbie of php problem - code shows no output > Actually my file is /usr/David/php/test.php so it does have a .php > extension. > > I tried your script, with do difference - it does seem to read the > script, > as for a moment in netscape - at the bottom it says "reading file...", > then "DONE." > > > David Daugherty wrote: > > > > Try naming the file with a .php extension. Also try this instead, it tells > > you a whole lot more: > > > > Example > > > > > > > > > > > > > > David > > Software Engineer - NetManage > > Work email: david.daugherty@netmanage.com > > Home email: doc@wcug.wwu.edu > > ICQ 21106703 > > Washington State Resident > > > > On Fri, 14 Jul 2000, David Banning wrote: > > > > > > > > > > > Hi - I am starting out 1st time with PHP4 - just installed. > > > > > > My first script called test.php4 gives a blank screen in Netscape; > > > > > > > > > > > > > > > > > > > > > > > $myvar = "Hello World"; > > > echo $myvar; > > > > > > ?> > > > > > > > > > > > > > > > > > > > > > I know the code is there, as when I save the netscape screen to a file, > > > the code is there. Any idea what could cause this? > > > > > > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > > > with "unsubscribe freebsd-questions" in the body of the message > > > > > -- > "Honesty is the best policy, but insanity is a better defense" > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message