Jump to content
moubik

ajax - cu ce functie sa escape parametrii ?

Recommended Posts

Din cate stiu sunt 3 variante cu care poti sa faci escape la requesturile POST ajax.

escape()

encodeURI()

encodeURIComponent()

nu stiu care este cea mai buna pentru a face escape catre un script .php si la partea php care sa restaureze valoarea parametrului.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...