If it's trying to download the file, PHP is not set up on the
server. What
server are you running? Apache? IIS? Something else?
The best way to test is to create a file with this code:
<?php
phpinfo();
?>
Save the page as info.php and put it in the root of the
server. In IIS,
that would be C:/Inetpub/wwwroot/ and in Apache, it would be
C:Program
Files/Apache Group/Apache/htdocs.
Then browse to the page using this URL:
http://localhost/info.php.
You
should get the default information of your PHP installation.
If you do not,
it is not set up correctly.
--
Nancy Gill
Adobe Community Expert
Author: Dreamweaver 8 e-book for the DMX Zone
Co-Author: Dreamweaver MX: Instant Troubleshooter (August,
2003)
Technical Editor: Dreamweaver CS3: The Missing Manual,
DMX 2004: The Complete Reference, DMX 2004: A Beginner's
Guide
Mastering Macromedia Contribute
Technical Reviewer: Dynamic Dreamweaver MX/DMX: Advanced PHP
Web Development
"Daniel__Baker" <webforumsuser@macromedia.com> wrote in
message
news:fu2jpv$n4s$1@forums.macromedia.com...
> Hi,
>
> I am setting up a PHP development environment for
Dreamweaver
>
> I follow the instructions in Adobes tutorial:
>
http://www.adobe.com/devnet/dreamweaver/articles/setting_up_php_02.html
>
> When I test to see if the PHP server is running with:
>
http://localhost/timetest.php
>
> Firefox wants to download the file not open it in the
browser.
>
> What am I doing wrong ?
>