note 94098 added to function.json-decode

From: Date: Fri, 16 Oct 2009 09:35:50 +0000
Subject: note 94098 added to function.json-decode
Groups: php.notes 
Request: Send a blank email to php-notes+get-161799@lists.php.net to get a copy of this message
I pulled my hair off for hours trying to get rid of strange backslashes in my incoming JSON-data in POST-pool, making it impossible to decode the incoming JSON-data. For those of you facing the same problem: just make sure you disable 'magic_quotes_gpc' in your php.ini and the incoming data will not be pseudo-escaped anymore. Now your incoming JSON-data should just be decoded fine. Maybe this will help. ---- Server IP: 194.153.94.10 Probable Submitter: 84.253.8.157 ---- Manual Page -- http://www.php.net/manual/en/function.json-decode.php Edit -- https://master.php.net/note/edit/94098 Del: integrated -- https://master.php.net/note/delete/94098/integrated Del: useless -- https://master.php.net/note/delete/94098/useless Del: bad code -- https://master.php.net/note/delete/94098/bad+code Del: spam -- https://master.php.net/note/delete/94098/spam Del: non-english -- https://master.php.net/note/delete/94098/non-english Del: in docs -- https://master.php.net/note/delete/94098/in+docs Del: other reasons-- https://master.php.net/note/delete/94098 Reject -- https://master.php.net/note/reject/94098 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#161799) next »