cal_days_in_month() missing, how can I tell if it exists

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I have been implementing a system on a different ISP than I normally use
and have got:-

Fatal error: Call to undefined function: cal_days_in_month()
in /home/hosted/www.menublackboard.com/public_html/dev/classes/validator.class.php
on line 134

I found a reference to this an the web and it seems PHP is not compiled
with calender support.

"recompile php with the "--enable-calendar" option."

Cant see being able to get the to re-compile PHP so I guess I am going
to have to disable the feature.  I seem to remember a while ago seeing a
function to test weather a function exists in PHP.  That way I can have
the relevant validation skipped if the function is missing (I will tell
the client if they get decent hosting it will start working).

So something like 

  function_exists(  cal_days_in_month() )

Anyone know what the function is called.

Ben

-- 
Ben Edwards - Poole, UK, England
WARNING:This email contained partisan views - dont ever accuse me of
using the veneer of objectivity
If you have a problem emailing me use
http://www.gurtlush.org.uk/profiles.php?uid=4
(email address this email is sent from may be defunct)

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux