|
Posted by nice.guy.nige on 03/25/07 01:44
While the city slept, Vince Morgan (vinhar@REMOVEoptusnet.com.au) feverishly
typed...
> <christopher_board@yahoo.co.uk> wrote in message
> news:1174783927.375316.98610@o5g2000hsb.googlegroups.com...
>> Hi.
>>
>> I am trying to write a contact us page on my website. I have a form
>> set up where users can enter there name and last name and comments
>> but I don;t how to make the submit button send all the information
>> in the different text boxes in the form via email.
>>
>> I would be greatful for any help that you can give me in this matter.
>>
>> Thank you.
>>
> You need a client side solution for this.
No he doesn't! Something like this should never - ever - be done using
client-side javascript via mailto, well... not if the end user actually
wants to receive the messages that a highly significant number of his users
send.
There are far better solutions to this, using either a server-side script to
process the form (if you don't currently have access to these facilities,
consider finding a host that permits this. They are very cheap these days),
or there are remotely hosted server-side scripts you can use.
I could provide good examples of both of the above, but to be honest, I've
just got back from the pub, so I don't trust myself to write them... My main
motive was to throw a "heads-up" to this extremely bad advice you had been
given.
Cheers,
Nige (who is about to leave his computer, and go and eat the takeaway pizza
in front of the TV as he should have done earlier)
--
Nigel Moss http://www.nigenet.org.uk
Mail address will bounce. nigel@DOG.nigenet.org.uk | Take the DOG. out!
"Your mother ate my dog!", "Not all of him!"
[Back to original message]
|