|
|
 Michael Schulz | 2011-05-02 11:47:45 |
| Fatal error: Call to undefined function cal_days_in_month() in countdown.php on line 50 |
| |
2. Re: Dependencies? |
|
Reply |
|
|
 Arturs Sosins | 2011-05-02 12:28:10 - In reply to message 1 from Michael Schulz |
cal_days_in_month is a built in php function
http://php.net/manual/en/function.cal-days-in-month.php
Installation
To get these functions to work, you have to compile PHP with --enable-calendar .
The Windows version of PHP has built-in support for this extension. You do not need to load any additional extensions in order to use these functions.
From http://www.php.net/manual/en/calendar.installation.php
As windows user, I didn't have any problems with that, but it is nice you pointed that out. It's possible to replace cal_days_in_month function with date("t") - equivalent functionality.
I'll update class ASAP. |
| |
3. Re: Dependencies? |
|
Reply |
|
|
 Arturs Sosins | 2011-05-02 12:37:16 - In reply to message 1 from Michael Schulz |
| Updated class source |
|