
25 Nov
2003
25 Nov
'03
5:01 a.m.
Hi all Original message (Alexander M. Turek, Monday 24.11.2003 23:34 +0100):
Marc Delisle wrote:
I am not sure if PHP3 users will still get the warning about PHP 3 ;)
I am sure that they won't... :o) But if that bothers you, I'll try to find a way not to welcome php 3 users with an error message about undefined functions.
Adding some simple check to to of index.php could be fine... if (substr(phpversion(), 0, 1) == '3') { echo 'Stop using old php'; } Well this code won't handle correcly php 30, but I guess, it is acceptable :-) -- Regards Michal Cihar http://cihar.com