Serialize - unserialize array problem
Posted: Fri Jul 14, 2006 7:02 pm
I have problem with serialize/unserilize array of strings.
Actually, it works perfect when I do serialize/unserialize on computers with same OS(linux windown). But when I try to serialize data on linux and unserialize that data on windows(or contrary), I get error(notice). Serialized data are saved in file, no GET/POST or any other data, so magic gpc and magic gpc rantime is not problem(altought it is OFF on both computers).
addslashes/strip slashes is not problem too.
I lost few hours searchng net for this problem, but I wasn't lucky to find anythting interesting.
Is this bug, or maybe problem in some special characters like new lines/CR and so on? If so what woudl be the sollution.
Thanks
Actually, it works perfect when I do serialize/unserialize on computers with same OS(linux windown). But when I try to serialize data on linux and unserialize that data on windows(or contrary), I get error(notice). Serialized data are saved in file, no GET/POST or any other data, so magic gpc and magic gpc rantime is not problem(altought it is OFF on both computers).
addslashes/strip slashes is not problem too.
I lost few hours searchng net for this problem, but I wasn't lucky to find anythting interesting.
Is this bug, or maybe problem in some special characters like new lines/CR and so on? If so what woudl be the sollution.
Thanks