php - Getting Null values for the Long length Strings -


$val=""; $val = mysql_real_escape_string(stripslashes(trim($_post['feed']))); $name = stripslashes(trim($_request['name'])); if (isset($val)) {       error_log("*********************************");       $json = array();       $temp = json_encode($val);       error_log("encoded value = ". $temp);       $decoded = json_decode($temp); 

whenever, provide long length string 'val', decoded value gets null. however, provides correct value in case of short length string. need help.


Comments

Popular posts from this blog

amazon web services - S3 Pre-signed POST validate file type? -

c# - Check Keyboard Input Winforms -