Oddworld Forums

Oddworld Forums (http://www.oddworldforums.net/index.php)
-   Off-Topic Discussion (http://www.oddworldforums.net/forumdisplay.php?f=9)
-   -   HTML Help (http://www.oddworldforums.net/showthread.php?t=11060)

Godlesswanderer 01-02-2005 06:40 PM

HTML Help
 
I have no idea if anyone here is good with HTML but I thought I'd try anyway. Right here's my dilemma. I'm trying to get a form onto my website and have it so when the person filling it out clicks submit, it emails it to me straight away with the info they have sent in the email. Well, I thought I had done it right but when i tested it in IE after clicking submit it opened an email, set my email as the send address and has the subject as 'POSTDATA.ATT'. I've put in the actual form code below.

:

<form enctype="application/x-www-form-urlencoded"  method="POST" action="mailto:Godlesswanderer@gmail.com"></a> <FONT FACE="sans-serif, Arial, Helvetica, Geneva"><FONT SIZE=2>Name/Handle: <input type="Text" name="Name" value="Insert Name" size="20">
                                        Email Address: <input type="text" name="Email" value="Insert Email" size="20">
                                        Choose A Graphic:<select name="Graphic Choice" size="1">
        <option>Banner</option>
        <option>Signature</option>
        <option>Wallpaper</option>
        <option>Header</option>
        <option>Website Layout</option>
        <option>88x31px Link</option>
</select>
Description:
<textarea cols="50" rows="7" name="Description">Please describe your request as best you can. If you can, please include font you would like to be used (if it has to be downloaded please give url of font). Also give colours that you would like to be used, etc...</textarea>
If you Wish to have a picture put into the graphic, please upload the picture:<input type="file" name="file input" accept="JPG, JPEG, BMP, GIF, PNG, PDF, PSP, ZIP, RAR, PSD" />
<input type="submit" value="Submit" /><input type="reset" value="Reset">
</form>

Can anyone help me with this?

Edit:

Looks like html code is on here so all I could put is the actual table. You'll have to right click and go to view source to see the actual code.

Alcar 01-02-2005 07:01 PM

I just edited your post to put it in some nice HTML vBCode tags. Stuff like HTML, PHP, and just everyday code can be put inbetween the following: [HTML][/HTML], or [PHP][/PHP], or [CODE][/CODE].

What you were sent in the email is what you are meant to receive. I learnt a long time ago that using email form submitted data was really the wrong way to go about it. You CAN decify the contents from the POSTDATA.ATT file, but it is not worth it in my opinion. You'd be best to get a PHP script that automatically does this sort of thing for you.

Alcar...

Languor 01-02-2005 07:20 PM

:

I just edited your post to put it in some nice HTML vBCode tags. Stuff like HTML, PHP, and just everyday code can be put inbetween the following: , or , or .

What you were sent in the email is what you are meant to receive. I learnt a long time ago that using email form submitted data was really the wrong way to go about it. You CAN decify the contents from the POSTDATA.ATT file, but it is not worth it in my opinion. You'd be best to get a PHP script that automatically does this sort of thing for you.

Alcar...

Agreed. HTML is good for formatting, but for actual information-handling it's not good. Using PHP or CGI or anything else would definitely be easier and more efficient.

Godlesswanderer 01-02-2005 07:27 PM

Ok, thanks guys.

Languor 01-02-2005 08:10 PM

Sure thing.