Hi,
I am using c++ library(.so files) with php 4.3.2 as:
In first page I create object like this:
<?
session_start();
session_register("object");
$object = myphpclass();
$object->setstring("Hello how are you");
echo "<br>",$object->getstring(), "<br>";
?>
(here myphpclass is created in c++).
which is working fine.
Now when I use $object in another page like this:
<?
session_start();
$obj=$_SESSION['object'];
$obj->getstring()
?>
Following error come:
Fatal error: underlying object is of wrong type in getstring().
Please help
Regards
Devendra