[Q] How to setup DW to execute php scripts -
08-06-2004
, 01:53 PM
Hi,
I know this must be really obvious to many of you, but I have been unable to
configure DW (using [preferences] or [site->edit]) so that it will execute a
php script from a <form action="foo.php"...> tag. When the submit button is
clicked the php file is displayed, rather than executed.
When the [Update Database] button is clicked, the file specified by the
action parameter is displayed, rather than executed.
My dev machine is a Windows XP system with Apache, PHP, and MySQL installed.
I have confirmed that my Apache-PHP configuration is correctly configured.
For example, PHP correctly executes the script when I pass
"update_river_measurements.php" to IExplore.exe from the command line. Also,
when I upload these local files to my ISP, the PHP also executes correctly.
Any suggestions as to how to get DW to execute these files would be
appreciated.
Re: [Q] How to setup DW to execute php scripts -
08-06-2004
, 07:08 PM
Michael T. Peterson wrote:
Quote:
Any suggestions as to how to get DW to execute these files would be
appreciated.
How do you have your testing server defined? Make sure that you put
http://localhost/ or whatever you have set for the site in Apache as the
URL prefix.