From: [EMAIL PROTECTED] Operating system: Debian Linux 2.2.19 ppc PHP version: 4.1.0 PHP Bug Type: Session related Bug description: 4.1.0 on powerpc doesn't save session variables
4.1.0 on powerpc doesn't save session variables apache 1.3.22 scripts like this sample doesn't save session varibles, but when run on intel platform with same php.ini, same php and apache versions, it works saving session variables. --------- <?php session_start(); // session variable to store the counter. session_register('counter'); // session variable to store the value when the page was last loaded; // this value is maintained so that difference can be calculated. session_register('timeAtLastLoad'); // current time $timeNow = time(); // increment counter $counter++; // calculate the time lapsed from last visit. $timeLapsed = $timeNow - $timeAtLastLoad; // display appropriate message if($counter > 1) { echo "<b>It's been $timeLapsed seconds since you last viewed this page.</b>"; } else { echo "<b>First time here? Reload this page to see how the session works!</b>"; } $timeAtLastLoad = $timeNow; ?> ------- -- Edit bug report at: http://bugs.php.net/?id=14826&edit=1 -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]