Re: [PHP] setcookie with array (was serialize)

2002-03-28 Thread Miguel Cruz
On Thu, 28 Mar 2002, Rodrigo Peres wrote: > if(isset($submit)) { > $x = addslashes($HTTP_POST_VARS); > $y = serialize($x); > setcookie("posted",$y) > } 1) You probably should call serialize on the array to turn it into a string before trying any string transformations like addslashes.

Re: [PHP] setcookie with array (was serialize)

2002-03-28 Thread Jason Wong
On Thursday 28 March 2002 23:25, Rodrigo Peres wrote: > Hi list, > > Regarding my last post about serialize, I've tried many things but couldn't > make it function. > > I'm trying to store the data from a form in order to allow my user to stop > the process of filling the form and retrieve later w

[PHP] setcookie with array (was serialize)

2002-03-28 Thread Rodrigo Peres
Hi list, Regarding my last post about serialize, I've tried many things but couldn't make it function. I'm trying to store the data from a form in order to allow my user to stop the process of filling the form and retrieve later what was inserted before. Among many other thing I tried this litt