Re: send object

From: Date: Wed, 07 Aug 2002 09:13:57 +0000
Subject: Re: send object
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-111485@lists.php.net to get a copy of this message
> that is on a page but i like to send this object to an other page > how can i do this whit min of code http://www.php.net/manual/en/function.serialize.php: Header("Location:kalender.php?vandaag=" . serialize($vandaag)); on kalender.php $vandaag=unserialize($_GET['vandaag']); Op woensdag 07 augustus 2002 11:58, schreef sven.vandamme@pandora.be: > ok i made an object vandaag that contains several information > > $vandaag->dag = date("w"); > $vandaag->dagen = date("j"); > $vandaag->maand= date("n"); > $vandaag->jaar= date("Y"); > $vandaag->maxdag = date("t") > > that is on a page but i like to send this object to an other page > how can i do this whit min of code > > my first tought was to hang it on the url > > Header("Location:kalender.php?vandaag=" . $vandaag ); > > but that don't seems to work > > thx in advance > greetz

« previous php.general (#111485) next »