View Single Post

  #5 (permalink)  
Old 03-12-2006, 10:59 AM
louie's Avatar
louie louie is offline
Senior Member
 
Join Date: Jan 2006
Location: Dublin, Ireland
Posts: 2,048
Nominated 5 Times in 3 Posts
Nominated TOTW/F/M Award(s): 1
louie will become famous soon enoughlouie will become famous soon enoughlouie will become famous soon enoughlouie will become famous soon enoughlouie will become famous soon enoughlouie will become famous soon enoughlouie will become famous soon enoughlouie will become famous soon enough
Send a message via Yahoo to louie Send a message via Skype™ to louie
Default

using Ajax just for a simple matter like that is too much work.
If you use include files and have the form displayed on every page, leave the action field empty, this way the form will submit to the same page you are on, or grab the page name and query string.

Inside the form ad a hidden field named "email_subscribe" or something unique with the value="1".

Inside the include page, before the form add your code to verify the email, and if no errors found, either added to a database or email it to yourself, then shown a nice "Thank you" message.
__________________
:. Web Design & Development Web Design Ireland
:. Search Engines Optimization Search Engines Optimization
:. Directory Submission Directory Submission
:. News & Press Release Ireland GiveItSocks.com
:. Used Cars Ireland, Car Parts & Car Audio Cars For Sale, Car Parts & Accessories
:. I Have 2 Find It Directory SEF Directory
Reply With Quote