marioosh : a word of warning if using json_encode / decode in php ...

Some servers (my test server) added slashes to json from an ajax request and 
my work server didn't ( 2 linux servers with same setup gve or take 0.1 of a 
php RC !! so beware and add/stripslashes !!


Alex
----- Original Message ----- 
From: "Szymon Wilkołazki" <[email protected]>
To: <[email protected]>
Sent: Tuesday, March 03, 2009 1:41 PM
Subject: [Proto-Scripty] Re: Ajax.Request and php global variable


>
> Alex Mcauley pisze:
>> Quoting does not allways matter when setting javascript vars ...
>>
>> Plus not every version of php has json_encode() installed on it
>>
>
> Yeah, your right. To much of intranet coding, when you know exactly
> what you have on server, and if there's something you need and it's
> not on server, a few emails are usually enaugh for it to be enabled.
>
>
> Regards,
> SWilk
>
>
> >
> 


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Prototype & script.aculo.us" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/prototype-scriptaculous?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to