I'm using the serialize and unserialize functions as follows
I'm using it to pass an array value to a diffrent page
$arr = unserialize(rawurldecode($_GET['filterfield']));
$arr = rawurlencode(serialize($arr));
The only problem is that on my hosting server it doesn't work properly, it gives me a shorter string array, but on my own server it does work properly.
Suggestions are really appreciated...!!