note 35185 deleted from function.unserialize by sniper

From: Date: Mon, 13 Oct 2003 03:22:08 +0000
Subject: note 35185 deleted from function.unserialize by sniper
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-58511@lists.php.net to get a copy of this message
Note Submitter: cpuidleSPAMME@gmx.de ---- I've head problems to unserialize data read back from file (v4.3.3, Windows). Problem turned out to not be unserialize, but the actual filereading (for details see Bug #25185): The way you save and load the data must match. Windows does line termination translation (e.g. \n -> \r\n). To avoid this you must write and read using open mode 'wb'.

« previous php.notes (#58511) next »