Do this:
$sstr= base64_encode(serialize($foo));
$return= unserialize(base64_decode($sst));
Richard Kurth wrote:
This gets the same error
$testdata=stripslashes($testdata);
$testdata= unserialize($testdata);
var_dump($testdata);
And I can't strips
This gets the same error
$testdata=stripslashes($testdata);
$testdata= unserialize($testdata);
var_dump($testdata);
And I can't stripslashes before serializing because I don't have control of
the script that sends the data
-Original Message-
From: Al [mailto:[EMAIL PROTECTED]
Sent: Sunday
2 matches
Mail list logo