Received: from localhost (postgresql.org [64.49.215.8]) by postgresql.org (Postfix) with ESMTP id 619054760E3 for ; Wed, 18 Sep 2002 20:43:10 -0400 (EDT) Received: from krusty.pcisys.net (krusty.pcisys.net [216.229.32.178]) by postgresql.org (Postfix) with ESMTP id CECA6476067 for ; Wed, 18 Sep 2002 20:43:09 -0400 (EDT) Received: from [216.229.45.53] (moe.rbe45-53.cos.pcisys.net [216.229.45.53]) by krusty.pcisys.net (8.12.5/8.12.5) with ESMTP id g8J0hBYT005144 for ; Wed, 18 Sep 2002 18:43:11 -0600 (MDT) User-Agent: Microsoft-Outlook-Express-Macintosh-Edition/5.0.4 Date: Wed, 18 Sep 2002 18:43:12 -0600 Subject: Re: Use of Serial type From: Keary Suska To: Postgres-PHP Message-ID: In-Reply-To: Mime-version: 1.0 Content-type: text/plain; charset="US-ASCII" Content-transfer-encoding: 7bit X-Virus-Scanned: by AMaViS new-20020517 X-Archive-Number: 200209/35 X-Sequence-Number: 1490 on 9/18/02 5:17 PM, warrenmassengill@hotmail.com purportedly said: > RedHat 7.2 RPM with PostgreSQL 7.1.x and PHP 4.0.6 > > Page 111 of PHP and PostgreSQL, this form displays in Mozilla. The submit > button is expected to run a script called reaction.php but it opens the > script and displays the code. The response is the same with or without > variable input. > > I changed the script file to executable: no effect. > > I can run 'reaction.php' from the shell and it works. > What is the problem here? Apache is not configured properly to recognize the .php extension. Look at the installation instructions for the AddType directives you must have. Keary Suska Esoteritech, Inc. "Leveraging Open Source for a better Internet"