Page 1 of 1

PHP4 -> PHP3

Posted: Fri Sep 26, 2003 7:01 am
by EricGen
Hi,

I have to move some scripts from a server with php4 to one with php3. No problem with things like foreach but all my scripts are based on session variables using session_start. What's the easiest way to change that code in php3?

Thanks

Posted: Fri Sep 26, 2003 7:13 am
by twigletmac
Eek - any reason why the PHP3 people can't upgrade, considering PHP 5 is working it's way towards completion they are fairly out of date.

However, as upgrading isn't always an option (legacy systems and all that), I think you'll find yourself reverse engineering via the migrating docs on PHP.net:
http://www.php.net/manual/en/migration4.php

Good luck,

Mac

Posted: Fri Sep 26, 2003 12:34 pm
by m3rajk
i have to agree with twig: ask about upgrading before you go downgrading