Maybe not...
[email protected] (Szii) Thu, 01 Jun 2000 02:32:52 -0700
| Newsgroups | php.version4 |
|---|---|
| Message-ID | <[email protected]> |
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