OneThird CMS

Lightweight CMS for Small website, Web application framework.

Download Document

japanese

POST token there is no, is repelled all ajax is

In OneThird CMS, all of the post data token is not Please note that an error will occur

Token

In the case of javascript

ot.magic_str

In I can get

phpの場合、$params['login_user']['meta']['magic_str']

In I can get


The above values, please POST as xtoken


Example

javascript

\\$('#form_page').append("<input type='hidden' name='xtoken' value='"+ot.magic_str+"' />");
\\$('#form_page').submit();
   


php

<input type='hidden' name='xtoken' value='{$params['login_user']['meta']['magic_str']}' />
   


Google Website Translator - Google Translate