0
      1
      2
      3
      4
      5
      6


This function takes year as a parameter and returns a list of Holiday dates for that year. It returns an array of key/value pairs.

Example that prints out all of the US Holidays in the year 2014.

Date posted: July 16, 2014 | Author: | No Comments »

Categories: Programming Web

Tags:

What is a SQL Injection?

SQL injection is a technique to attack database based applications. The attacker inserts SQL statements into an input field of the application for execution by the database. An application with a vulnerability can be used by an attacker to dump the contents of a database, delete the database contents, insert HTML code to perform Cross-site scripting (XSS) attack, and much more.

Continue reading Preventing SQL Injection in PHP

Date posted: June 21, 2014 | Author: | No Comments »

Categories: Programming Web

Tags: , ,

Are you have problems with automated SPAM bots submitting to your PHP form? This can easily be fixed by adding a CAPTCHA to your form. CAPTCHA stands for: Completely Automated Public Turing test to tell Computers and Humans Apart. The main purpose of a CAPTCHA is to distinguish human from a computer. A code or image is presented in a way that only a human would be able to understand, so say good bye to automated SPAM!

Continue reading Stop form spam by adding a CAPTCHA

Date posted: May 15, 2014 | Author: | No Comments »

Categories: Programming Web

Tags: , , , , , , ,

Copyright © 2013, Neil Bittner. All Rights Reserved.