Maybe not...

From: Date: Thu, 01 Jun 2000 09:32:52 +0000
Subject: Maybe not...
Groups: php.version4 
Request: Send a blank email to php-version4+get-16009@lists.php.net to get a copy of this message
Hmm... I guess that it wasn't a paste bug after all. I got it working, tested it twice, cool. Third time -boom.- Same code, no changes. With it working fine twice and blowing on the third (blowing = suddenly I can't call any functions off of my class) it's odd. session_start(); if (!isset($photo)) { $photo = new Photo; session_register("photo"); } $photo->SomeMethod(); That code should NEVER fail, and should stick around with the session. session_is_registered() acts the same was as isset() in this case. If I put an "else" on that "if" statement then I can see it (the else) statement fire. So the $photo IS set. I just can't call methods from it. BAH! I guess I'm going to go install the release version and pray that it works. I have to demo this stuff (prototype)in a couple hours and it's really starting to piss me off. Buffer overflow, perhaps? -Szii

« previous php.version4 (#16009) next »