Jump to content

serialize/unserialize problem


neds75

Recommended Posts

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
Link to comment
https://forums.phpfreaks.com/topic/14627-serializeunserialize-problem/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.