Re: Guidance with PHP form to email script

by Kathy Wheeler <kathyw(at)home.albury.net.au>

 Date:  Thu, 20 Nov 2003 12:13:25 +1100
 To:  Tenley Shewmake <tenley(at)awebresource.com>,
hwg-techniques <hwg-techniques(at)hwg.org>
 References:  awebresource
  todo: View Thread, Original
On Thursday 20 November 2003 10:36, Tenley Shewmake wrote:
> 1) is this secure? and if not, how can I best protect the client from
> problems.

Well, your "emailing" the data to yourself on your own server so as long as 
your sever is secured it's relatively safe. Form data could be sniffed in 
transit from the subscriber to your server but you're not asking for really 
sensitive info ... risk is minimal.

> 2) Once the submit button is pressed, the page remains on screen with
> form elements still filled in - to the casual user it might appear that
> nothing has happened. What options do I have?

Looking at it, if you are not adverse to a little javascript, it might be 
nicer to put the form into a pop-up window activated by clicking on a text 
link in the para that offers them the subscription. Take the form off the 
visible page completely. Then you can have a "thank you" pop up in the window 
on submission, or just close the window on submission and have an alert pop 
up a "thank you". While you don't "need" a "tnahk you" it might be nice to 
give the feedback to the subscriber.

Cheers,
KathyW.

HWG hwg-techniques mailing list archives, maintained by Webmasters @ IWA