...

View Full Version : Form problems! Help pleaseee



lilrobson
10-06-2002, 07:48 PM
Okay, I just tested out my forms not to long ago. It sent it and all but it came up with a message in my inbox that said "Error Reading Message or message with NULL body!!" I've included the code below. Maybe I just have something completely wrong, please help!


<form name="myform" action="mailto:Kat@wadejrobson.net" method="post"> <input type="Text" style="color: #000000; font: 9px Verdana; background-color: transparent; border-width: 1; border-color: #000000; border-style: solid;" width="70" value="name :" size="30">
<input type="Text" style="color: #000000; font: 9px Verdana; background-color: transparent; border-width: 1; border-color: #000000; border-style: solid;" width="70" value="http://" size="30">
<input type="Text" style="color: #000000; font: 9px Verdana; background-color: transparent; border-width: 1; border-color: #000000; border-style: solid;" width="70" value="hometown :" size="30">
<textarea style="color: #000000; font: 9px Verdana; background-color: transparent; border-width: 1; border-color: #000000; border-style: solid;" width="70" cols="30" rows="5">message, etc. :</textarea>

<input type="submit" name="submit" style="color: #000000; font: 10px Verdana; border:1pt solid; background: transparent; color:#000000;" value="dance this way"></form>

zoobie
10-06-2002, 08:28 PM
Well, for beginners, about 75% of that code can be eliminated via a css class. Using mailto: invites spam-bots to send you not just a little mail...but TONS. An alternative is a remotely hosted form such as the free one @ Bravenet.com :D

AnOdeToNoOne
10-06-2002, 10:54 PM
man zoobie why havent i thought of that, thats why im getting about 200 emails a day...
:@

anyways thanks for that, damn it was so simple lol :-)

PauletteB
10-07-2002, 07:39 AM
lilrobson

Try with the 'enctype' inserted in there...

<form method="post" enctype="multipart/form-data" ....



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum