Re: [PHP-DB] Passing Objects

2001-05-10 Thread Joe Brown
Nope. something like this may get you where you want to go though include("myObjectClassDeclaration"); $myInstance=new myObject; echo "http://blahblah.com/?passedClass=".urlencode(serialize($myInstance)); Then in subsequent pages this should work: include("myObjectClassDeclaration");

RE: [PHP-DB] Passing Objects

2001-05-10 Thread Hoover, Josh
I believe you would need to serialize $passedClass (which, I'm assuming here, you've set as a myObject object) and then unserialize it to use it on the following page. http://www.php.net/manual/en/function.serialize.php and http://www.php.net/manual/en/function.unserialize.php Josh Hoover Knowle

[PHP-DB] Passing Objects

2001-05-10 Thread tcuhost
does this make sense? assuming: class myObject { $var1 = "A"; $var2 = "B"; } http://blahblah.com/?passedClass=myObject would passedClass also send with it being an oject both variables and the rest of the class defined? -- PHP Database Mailing List (http://www.php.net/) To unsubscrib