problem in checking hooliday using php
i am very new to php..hope some one helps me to come out of this problem.
i am working with a leave application. where a user select some dates for applying leave. the user input is in form of (2010-09-03 for 3rd sep 2010 and 2010-09-06 for 6th sep 2010). 2nd and 4th saturday  would be holiday in every month including sunday.
i want to dispaly no of leaves he applied for. suppose if a user selects 3rd sep to 6th sep it should display no of leaves as 3 and if selects 10 th sep to 13 th sep it should display no of leaves as 2(because of 2 nd saturday and a sunday)..  any help plzzz.

problem in checking hooliday using php
===

i am very new to php..hope some one helps me to come out of this problem.
i am working with a leave application. where a user select some dates for applying leave. the user input is in form of (2010-09-03 for 3rd sep 2010 and 2010-09-06 for 6th sep 2010). 2nd and 4th saturday  would be holiday in every month including sunday.
i want to dispaly no of leaves he applied for. suppose if a user selects 3rd sep to 6th sep it should display no of leaves as 3 and if selects 10 th sep to 13 th sep it should display no of leaves as 2(because of 2 nd saturday and a sunday)..  any help plzzz.
