[PHP] serialize and unserialize

2003-12-22 Thread webmaster
Hello all i need a little help with serialize and unserialize here is my code ?php session_start(); if(!isset($_COOKIE['data'])) { //Check to see if cookie is there. include(cookie_num.dat); $y = $password; //Assign a special number

Re: [PHP] serialize and unserialize

2003-12-22 Thread Marek Kilimajer
You should use stripslashes to get rid of escaped characters in $_COOKIE['data']. Then remember to use addslashes when you want to use $data or $chksum in sql queries. [EMAIL PROTECTED] wrote: Hello all i need a little help with serialize and unserialize here is my code ?php