Re: [Q] How to setup Dreamweaver so that PHP scripts are executed?

From: Date: Sat, 07 Aug 2004 02:07:14 +0000
Subject: Re: [Q] How to setup Dreamweaver so that PHP scripts are executed?
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-193054@lists.php.net to get a copy of this message
Thanks to both of you, but it is still not working. I've configured the site (both local and testing) correctly, but what gets passed to IExplore is the URL below: C:\Program Files\Apache Group\Apache\htdocs\northwest_steelheader\rivers\northwest_rivers.htm http://localhost/northwest_steelheader/ does not get passed. I can't help but think that I'm not configuring the <form action=""> correctly. Cheers, Michael "Michael T. Peterson" <mtp1032@comcast.net> wrote in message news:cf0sgc$9l0$1@sea.gmane.org... > 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. > > Here's the HTML code of the submit button form: > > <form action="update_river_measurements.php" method="post" > name="form1" > target="mainFrame"> > <select name="interval_period"> > <option>Select interval</option> > <option value="2">2 days</option> > <option value="4">4 days</option> > <option value="8">8 days</option> > <option value="31">31 days</option> > </select> > <input type="submit" value="Update Database"> > </form> > > 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. > > Cheers, > > Michael > P.S. Cross-posted to the DreamWeaver news group > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > >

« previous php.general (#193054) next »