Hello,
this will not work, but what you can do is this:
$ser = serialize($this);
echo "Bar\n";
and then do this in foo.php:
$object = deserialize($_GET['this']);
Another way could be to use sessions, which will be a lot easier to work
with in this case. (http://www.php.net/session_start)
De
Dean Householder wrote:
> How can you pass an object from one page to another? Is there any convenient way to
>do it with PHP?
>
> Dean
>
>
You've had some suggestions to use 'sessions' but you can't really pass
an object between pages with sessions - UNLESS...
Unless both pages have the
2 matches
Mail list logo