You are here: Re: A question about HTML Forms and emailing the results « HTML « IT news, forums, messages
Re: A question about HTML Forms and emailing the results

Posted by mbstevens on 11/19/79 11:39

wmburns wrote:
> I have created an e-commerce page containing a HTML form containing
> over 100 boxes for customers to enter a 2 digit number to indicate the
> quantity of the item they wish to buy. The results are then emailed to
> me along with the persons contact information and a few other details.
> Can the form coding be altered to only send the contents of boxes that
> contain numbers other than zero. The emailed results message is
> becoming quite long and it is sometimes easy to miss a single entered
> amount.
>
> The page can be viewed at: http://www.canmilair.com/decals.html
>
> I would appreciate anyone offering advice on this matter.
>
> Thanks,
>
> Wm. (Bill) Burns
> London, ON
>
> www.canmilair.com
>

Yes. Stop using mailto links like:

<form action="mailto:wmburns@sympatico.ca?Subject=CanMilAir
Decal Order" method="POST" enctype="text/plain">

Instead, have the form call a server side program in Perl, PHP,
Python, or Ruby (whatever is available to your server).

You should also be aware that a raw mailto like this makes it
easy for crackers to snare info about your customers.
--
mbstevens
http://www.mbstevens.com/

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация