HighDots Forums  

[Q] Execution of PHP from <form action>

Macromedia Dreamweaver Macromedia Dreamweaver Discussions (macromedia.dreamweaver)


Discuss [Q] Execution of PHP from <form action> in the Macromedia Dreamweaver forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
michael148
 
Posts: n/a

Default [Q] Execution of PHP from <form action> - 08-06-2004 , 10:23 PM






I am running the latest DW version on my local system on which Apache and MySQL
are installed. My system is Windows XP based.

The PHP script, invoked by the action parameter (see html, below), is not
executed. Instead, the script's source is displayed in the target frame. My
Apache-PHP installation is correct because I can execute the script on my
system by passing
'http://localhost/my/root/folder/scripts/update_river_measurements.php' to
IExplore on the command line. What's happening is that DW seems unable to do
this.

Finally, I'm pretty sure I have correctly configured my testing server
([site]->[edit sites].

Any suggestions as to what I might try would be greatly appreciated.

Cheers,

Michael
=================== HTML code below ===========================

<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>



Reply With Quote
  #2  
Old   
michael148
 
Posts: n/a

Default Re: [Q] Execution of PHP from <form action> - 08-06-2004 , 10:29 PM






One final point: When I upload these pages to my remote host, the form and the PHP script execute perfectly. So, the problem is with the way I've configured DW.

Thanks,

Michael

Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.