ElgisRamon
MIS
Hello,<br><br>I want to pass serialized data between forms like that<br><FONT FACE=monospace><br><?php<br>$bindata = serialize( $something );<br>?><br><input type="hidden" name="bindata"<br><?php<br> echo "value=\".$bindata."\" >\n";<br>?><br></font><br>But I want to do it safely... remembering $bindata contains null and other dangerous bytes. Then I want to decode that in the receiving form:<br><FONT FACE=monospace><br><?php<br> $data = unserialize( $bindata );<br>?><br></font><br>What pair of functions can I use to code/decode the serialized data to safe Latin-1 text that can be written in the <input> tag?<br><br>SMTIA