Jump to content


form won't post

  • Please log in to reply
2 replies to this topic

#1 jennsite

  • New Members
  • Pip
  • Newbie
  • 1 posts

Posted 06 July 2004 - 06:24 AM

"No input file specified." is what I get when I click on my send button on my forms page. It's a simple e-mail form done in Dreamweaver MX. Four fields, all labeled. I chose 'Post' on the form options. I inserted this code:

<input name="Submit" type="submit" class="style2" id="Submit" value="Send" onClick="POST"/>

for the target, I have contactform.php. The php file is as follows:


$name = $_POST["name"];
$company = $_POST["company"];
$email = $_POST["email"];
$message = $_POST["message"];

$to = "name@geary.k12.ok.us";
$msg = "$name\n\n";
$msg .= "$message\n\n";

mail($to, $subject, $msg, "From: Website\nReply-To: $email\n");


I've done a successful variation of this with Flash and it works great. I haven't done it yet with Dreamweaver and was sort of cobbling together things form the flash way and things from a dreamweaver book. I know I've botched it royally, but don't know how. Can anybody help?

The page is http://www.geary.k12...ts/contact.html

#2 72dpi®

  • Members
  • Pip
  • Newbie
  • 6 posts

Posted 06 July 2004 - 03:20 PM

Yup, your code target did work, but I originally tried that
and tested to their contact form from my server, (using the target)
but got the same error.

I thought the poster may have wanted a nicer email form, so I spent 10 mins doing it.
But since there is no reply, I am taking it down...

oh well,
| SiteUnseen Student Photography

#3 colin2003

  • Members
  • Pip
  • Newbie
  • 8 posts
  • LocationCanada

Posted 08 July 2004 - 11:24 PM

Straight answer...I dont use Dreamweaver but edit the code of your form! It has no target file!!!!!! How is it supposed to link to your PHP file!? Either way, just edit the form so it says:

<input name="Submit" type="submit" class="style2" id="Submit" value="Send" action="contactform.php" method="POST">

Guarantee that will work. I use the same code on my website. You have to tell it what to do and which file to use!

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users