• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Validating Ajax Put Request


If I am tying to validate data coming from AJAX PUT request, can this code
PHP Code:
 validate those data? Thanks.

The Ajax validation should be in the JavaScript code.

Transferring data should be done using Json format.

If the Ajax put is sending Json and it's an Json array you can use json_decode()
on it then use php to validate the data.
What did you Try? What did you Get? What did you Expect?

Joined CodeIgniter Community 2009.  ( Skype: insitfx )

That is exactly what I am about to do. Make my own validation for ajax requests. Thanks.

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  

  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2020 MyBB Group.