Look at http://sk.php.net/unserialize
Example 1. unserialize_callback_func example
Marco Schuler wrote:
Hi
I have to serialize an object in a session. Generally there is no
problem with this if the class-definition file(s) are included _before_
starting the session, as explained in the php-manual
I was under the impression that if you used include_once then the script
would only include the class definition if it was required within the
script.
You might want to check the manaul or get a second opinion on that, but
that's what I've always done.
Regards
Chris
-Original Message-
F
2 matches
Mail list logo