PHP scripts and IE
From: Tony Wainwright (tony.wainwright_at_virgin.net)
Date: 01/30/05
- Next message: Ashmodai: "Re: htacess vs php vs m3u"
- Previous message: Alan Plum: "Re: Getting the <!DOCTYPE> from an XHTML document that was parsed using SAX - possible?"
- Next in thread: Tony Wainwright: "Re: PHP scripts and IE"
- Reply: Tony Wainwright: "Re: PHP scripts and IE"
- Reply: Ashmodai: "Re: PHP scripts and IE"
- Reply: Geoff Berrow: "Re: PHP scripts and IE"
- Reply: Sal Perconte: "Re: PHP scripts and IE"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Sat, 29 Jan 2005 23:09:36 +0000 (UTC)
Hi Guys
Using WinXP Pro SP2 with PHP 5.0.2, MySQL4.0.21 and Apache 2.0.52. I am
just trying to get to grips with these tools and am following a book PHP,
MySQL and Apache All in One from SAMS publishing.
Everything seems to be working OK except when I am trying out some simple
PHP form scripts. I click the send button and I get a File Download dialog
asking me if I want to open or save the file. Why does it do this?
The html file is as follows
<html>
<head>
<title>A Simple HTML form</title>
</head>
<body>
<form action="send_simpleform.php" method="POST">
<p><strong>Name:</strong><br>
<input type="text" name="user"><br>
<p><strong>Message:</strong><br>
<textarea name="message" rows="5" cols="40"></textarea></p>
<p><input type="submit" value="Send"></p>
</form>
</body>
</html>
and the php file is:
<?php
echo "<p>Welcome <b>$_POST[user]</b>!</p>";
echo "<p>Your message is:<br><b>$_POST[message]</b></p>";
?>
Thanks
TJ
-- Thanks TJ
- Next message: Ashmodai: "Re: htacess vs php vs m3u"
- Previous message: Alan Plum: "Re: Getting the <!DOCTYPE> from an XHTML document that was parsed using SAX - possible?"
- Next in thread: Tony Wainwright: "Re: PHP scripts and IE"
- Reply: Tony Wainwright: "Re: PHP scripts and IE"
- Reply: Ashmodai: "Re: PHP scripts and IE"
- Reply: Geoff Berrow: "Re: PHP scripts and IE"
- Reply: Sal Perconte: "Re: PHP scripts and IE"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]