Hi
I have written a calender script for my website thats uses the line
'$num = cal_days_in_month(CAL_GREGORIAN, $month, $year);'
I had php 4.3.2 installed on my machine and now have upgraded to php5 and it worked fine on both. The problem is when i uploaded my script onto my isp and it came up with an error saying that the cal_days_in_month function isn't defined.
After looking at the php manual it says that this was included from php 4.1 onwards.
I am unsure when my isp plans to upgrade their php. Can anyone advise me if the function should be working with php 4.3.2 or not?
Looking at the phpinfo i can see theat my ISP has no additional modules installed. would this be my problem?
Thanks
Ian