> Greetings, > > I've had to move an application from a Rehat Linux 6 apache server running > PHP 3.x to a MAC OS X apache 1.3 running PHP 5 and the code listed below > bombs out..i have commented it out for now and it works but the code > listed > below doesn't work on the new server - do any of you see an obvious reason > this wouldn't work with PHP 5 ????? > > > <?php session_start(); > > > > include_once("client_detector_class.php"); > > // to use current HTTP_USER_AGENT string > > $is = new sniffer();
I didn't have to look much further than this. You have a class that was designed in PHP3 and suddenly you're wondering why it work in PHP5? The OO model in PHP has been vastly revamped. It's closer to what OO is suppose to be. So my guess is that all your classes are now invalid. You'll have to re-write your classes most likely. -- --Matthew Sims --<http://killermookie.org> -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php