RE: [PHP] Php lib?

From: Date: Mon, 12 Aug 2002 17:09:53 +0000
Subject: RE: [PHP] Php lib?
Groups: php.general 
Request: Send a blank email to php-general+get-112178@lists.php.net to get a copy of this message
> 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

« previous php.general (#112178) next »