Email Response Snippets


14 August, 2012   

PHP code to validate email

02 June, 2011   

This will check an email, to see if it is in a valid format.

27 April, 2014   

Code example for tracking email response

23 September, 2011   

An example Dates with the Ordinal Suffix . Below is the code that will do this.

19 July, 2012   

E-mail validation is perhaps the most used validation in web forms, this code will validate email address and also optionally check the MX records of the domain provided in email address to make email validation more robust.

This example has an ordinal suffix: Sunday 15th July

19 July, 2012   

PHP code to encode any email address into HTML entities so that spam bots do not find it

11 December, 2012   

MySql script to find invalid email addresses

23 April, 2011   

Below is a basic feedback form script 'feedback.asp'. You can add your own validation. Once the visitor has filled in all the form textfields an email will be sent with the feedback details including the date and time and the visitor's IP address to the email specified in the script.

26 December, 2012   

Email regex validation with MX check and communication. Sample code included. Returns bool valid code, bool condition code and str message.

10 September, 2012   

MySql script to find invalid email addresses

Scripts used to calculate Daylight Saving Time (DST) for the US and EU. Valid for years 1900 to 2099. [DST wasn't adopted until the 1950s-1960s for US and 1990s for the EU] By: brad degrandis

11 May, 2013   

ASP code example using a 301 redirect

The mail() function allows you to send emails directly from a script.

23 February, 2012   

Here shown simple XML tags

20 March, 2013   

ASP code example for Moved Permanently 301 Redirect

13 November, 2014   

Here is a form that asks for Name and Email address. When the form is submitted the Email address is verified first. If you put in a Name and a correct Email address, an anchor element is displayed allowing the user to download the file, two cookies are created storing the Name and Email address. If the user goes BACK in the browser and tries...

You should use err_headers_out() and not headers_out() when you want to send cookies in the REDIRECT response.

14 March, 2012   

To find the solutions to the 8 queens puzzle. The puzzle asks "How can you place 8 Queens on a chess board so that no Queen can attack any other queen?" By: Richard Lindsay

Open up a text editor, copy & paste the code below. Save the file as: "commandlinefu.py" and exit the editor.