For Programmers: Free Programming Magazines  


Home > Archive > PHP Language > January 2006 > open or save instead of processing? why?









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author open or save instead of processing? why?
roN

2006-01-30, 6:56 pm

Hi,

I try to submit following form and get just the 'open dialog' in Firefox
1.5. Why that?
[form]
<form action="./insert_new.php" method="post" name="check">the values you're
going to submit are following:<br>
Systemname: Test<input type="hidden" name="systemname" value="Test"><br>
Price: $14<input type="hidden" name="price" value="14"><br>

Monitorsize: 14"<input type="hidden" name="monitorsize" value="14"><br>
Additional monitor: yes<input type="hidden" name="addmonitor"
value="yes"><br>
Age: 12 months<input type="hidden" name="age" value="12"><br>
Condition: broken<input type="hidden" name="condition" value="broken"><br>
Your name: Ron Eggler<input type="hidden" name="name" value="Ron
Eggler"><br>
Your email: ron@xxxx.XXX<input type="hidden" name="email"
value="ron@xxxx.XXX"><br>
No picture was added<br>
<input type="hidden" name="action" value="insert"><input type="button"
value=" Back " onclick="history.back();"><input type="submit" value="
Submit "></form>
[/form]
--
chEErs roN

I'm root, I'm allowed to do this! ;)
keep on rockin'
Colin McKinnon

2006-01-30, 6:56 pm

roN wrote:

> Hi,
>
> I try to submit following form and get just the 'open dialog' in Firefox
> 1.5. Why that?
> [form]
> <form action="./insert_new.php" method="post" name="check">the values

<snip>

Because your webserver is returning the wrong mime type for PHP. RTFM for
your webserver. And download the output and see if it is the source file or
its output.

C.
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com