unserialize returns true, but array empty..
Posted: Mon Dec 06, 2004 6:40 pm
I've face some inconsistencies on how the script reacted in the local server and remote server, the following script works in the local server but not the remote.
Time is unserialised
echoing $Time shows nothing.. come across this anybody?
Code: Select all
<?php
$Time = $_POST['time_array'];
if($Time=unserialize($Time))
echo'Time is unserialised';
echo $Time;
?>echoing $Time shows nothing.. come across this anybody?