Use a Json serialization script.php?request="s:e:r:i:a:l:i:z:a:t:i:o:n"
only one parameter by script, then you parse the request it's called RPC, as well as the question the answer (if needed) should have the same shape it's also called IPC at kernel level, you can also use url_encode... Cheers! On Jun 19, 4:01 am, Harlok <[EMAIL PROTECTED]> wrote: > Hi, I use POST for send all data to a PHP scrip, for ex: > > data:"script.php?id="+id+"&text="+text, > > but sometimes text contains \& or another strange char and I think > that is not the better way for send data. > ¿what is the best way? PHP -> JS I use json, but for JS->PHP? > > Thanks