> Anyone got any handy hints on how to convert scripts running
> on PHP3 and
> PHPlib?
1. Roughly speaking, page_open() goes to session_start():
Old:
page_open(array("sess" => "my_web_Session"));
New:
session_start();
2. page_close() goes away; if you don't have time to remove all those calls,
write your own page_close() function that simply returns true.
3. Use functions instead of methods for managing the session variables. For
example, for the object $sess created in step 1 above:
Old:
$sess->register('firstName');
New:
session_register('firstName');
Brings back fond memories - not! ;)
Kirk
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php