HighDots Forums  

Browser wants to d/l php instead of displaying?

Macromedia Dreamweaver Macromedia Dreamweaver Discussions (macromedia.dreamweaver)


Discuss Browser wants to d/l php instead of displaying? in the Macromedia Dreamweaver forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
nattydread webforumsuser@macromedia.com
 
Posts: n/a

Default Browser wants to d/l php instead of displaying? - 12-02-2003 , 01:13 PM






Lo ppl...and straight to the point..

Using DWmx6.1..on a framed site using the flash buttons that come with DW.Menu on the left side display area on the right.Im wanting a mailform to appear when the "contact" button on the menu is pressed..ok get the picture.I have the form i want to use and is named mailform.php...but when i link the button to the mailform and making sure its opening in the correct frame [main]...i test it in IE6,locally and on the server..it wants to download it as "mailform.php" and not displaying it as a page...whats that all about? At first i thought it was just a dodgy script but after trying a few, they all do the same?...BUT if i just put a standard link in the menu it works a treat...no problem.Ive done a search of the forum but to no avail...so if anyone can help i`d be very greatful...Im not a complete newb and can usually fudge my way to the answer but not this time.

Thanx again in advance

VeryStressed




Reply With Quote
  #2  
Old   
Alan Ames _TMM_
 
Posts: n/a

Default Re: Browser wants to d/l php instead of displaying? - 12-02-2003 , 01:17 PM






locally and on the server..it wants to download it as
Quote:
"mailform.php" and not displaying it as a page
is the server able to run php?

url to this page?

--
Team Macromedia Volunteer for Dreamweaver
Certified Dreamweaver MX Developer

yes, it's a real email address- but it's filtered to trash



Reply With Quote
  #3  
Old   
Michael Fesser
 
Posts: n/a

Default Re: Browser wants to d/l php instead of displaying? - 12-02-2003 , 03:12 PM



nattydread webforumsuser wrote:

Quote:
i test it in IE6,locally and on the server..it wants to download it as
"mailform.php" and not displaying it as a page...whats that all about?
Is the server up and running a PHP interpreter? Do you have a local
server installed?

If the answer is 'yes', then upload a PHP-file with this content:

<?php
phpinfo();
?>

and call it in the browser. If it doesn't return informations about the
installed interpreter, then there's something wrong with the
configuration or no PHP installed at all.

Have you tried filename extensions like .php3 or .php4? Some
(misconfigured) servers don't recognize the generic .php extension.

HTH
Micha


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 - 2010, Jelsoft Enterprises Ltd.