[Phpmyadmin-devel] require_once
Michal Cihar
nijel at users.sourceforge.net
Tue Nov 25 10:01:04 CET 2003
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
More information about the Developers
mailing list