php script file not executed - generates pop-up open save...

Problems with the Windows version of XAMPP, questions, comments, and anything related.

php script file not executed - generates pop-up open save...

Postby david0705 » 30. October 2007 21:56

Dear Apache experts,

Please help me if you can...! :)

My system: laptop / Vista home premium.
I have recently installed XAMPP (windows installer), and after some struggle with ports (Skype referred to port 80 as alternative) and the Vista "blockers" (that I turned off) finally everything functiones, only one single problem drives me mad... :(

Apache is running fine, no errors, nothing in the error.log, localhost functions perfectly (it seems), all files of my web project operate fine (are placed in the htdocs folder, of course), except that when a SUBMIT button (within a HTML page) is supposed to post form data (method="post" action="filename.php") to be saved, the respective PHP file script is not executed, instead I constantly get the windows pop-up "open/save/cancel".

It functions perfectly on a web server, so there's no programming errors involved...

Your ideas and advice will be highly appreciated!!! :)
...co-operation is the secret of success! :)
david0705
 
Posts: 4
Joined: 30. October 2007 21:29
Location: USA

Postby Wiedmann » 30. October 2007 22:38

within a HTML page

How did you open this HTML page (exactly)?
Wiedmann
AF Moderator
 
Posts: 17102
Joined: 01. February 2004 12:38
Location: Stuttgart / Germany

Postby david0705 » 30. October 2007 22:55

Wiedmann wrote:
within a HTML page

How did you open this HTML page (exactly)?


I run the index.html file, a menu offers the form page, I cklick the form page, fill in the fields, klick the "submit" button - and there it is, the ugly pop-up file-save-open-cancel window... 8)

All pages are HTML 4.01 Transitional, calling php files for some functions. Btw., php script as such functions, if I include it in the html page...

Thanks for your fast reply! :)
...co-operation is the secret of success! :)
david0705
 
Posts: 4
Joined: 30. October 2007 21:29
Location: USA

Postby Wiedmann » 30. October 2007 23:00

I run the index.html file

How?

(e.g. you talk to your computer to open this file?)
Wiedmann
AF Moderator
 
Posts: 17102
Joined: 01. February 2004 12:38
Location: Stuttgart / Germany

Postby david0705 » 30. October 2007 23:14

Wiedmann wrote:
I run the index.html file

How?

(e.g. you talk to your computer to open this file?)


:) nope, I wish I could... :D

I doublecklick the index file, which is located in the root directory, which again is a sub-directory of xampp's htdocs. It opens in Windows IE, latest version.
...co-operation is the secret of success! :)
david0705
 
Posts: 4
Joined: 30. October 2007 21:29
Location: USA

Postby Wiedmann » 30. October 2007 23:15

I doublecklick the index file

That's not working. You must open this file with "http://" in your webbrowser.
Wiedmann
AF Moderator
 
Posts: 17102
Joined: 01. February 2004 12:38
Location: Stuttgart / Germany

Postby david0705 » 30. October 2007 23:42

Wiedmann wrote:
I doublecklick the index file

That's not working. You must open this file with "http://" in your webbrowser.


Miracle, oh miracle, it works!!! :D :D

Thank you VERY much for your patience with me!!! :)
...co-operation is the secret of success! :)
david0705
 
Posts: 4
Joined: 30. October 2007 21:29
Location: USA


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 150 guests