Foren / Cotonti / Support / Ajax: call for little help

Trustmaster
#18363 4. November 2009, 02:37
markitup plugin is a good example of AJAX part. markItUp! editor sends data to the AJAX script using POST method and passes the "x" parameter which is equal to $sys['xk']/{PHP.sys.xk}. On the PHP side (ajax part of the plugin) there is nothing special, because Cotonti checks that "x" variable on all POST requests automatically. Manual checks are needed for GET only.
May the Source be with you!