���ѧۧݧ�ӧ�� �ާ֧ߧ֧էا֧� - ���֧էѧܧ�ڧ��ӧѧ�� - /home/alphpwcp/public_html/us/alphachat/modules/lhchat/addonlineoperationiframe.php
���ѧ٧ѧ�
<?php /** * These operations are executed directly in an iframe. Most of the time it's postMessage * */ $definition = array( 'operation' => new ezcInputFormDefinitionElement(ezcInputFormDefinitionElement::REQUIRED, 'string') ); $form = new ezcInputForm(INPUT_POST, $definition); if (trim($form->operation) != '') { $operation = $form->operation; $onlineuser = erLhcoreClassModelChatOnlineUser::fetch($Params['user_parameters']['online_user_id']); $currentUser = erLhcoreClassUser::instance(); if (! isset($_SERVER['HTTP_X_CSRFTOKEN']) || ! $currentUser->validateCSFRToken($_SERVER['HTTP_X_CSRFTOKEN'])) { echo json_encode(array( 'error' => 'true', 'result' => 'Invalid CSRF Token' )); exit(); } $onlineuser->operation_chat .= $form->operation . "\n"; $onlineuser->saveThis(); echo json_encode(array( 'error' => 'false' )); } else { echo json_encode(array( 'error' => 'true' )); } exit(); ?>
| ver. 1.4 |
Github
|
.
| PHP 8.2.30 | ���֧ߧ֧�ѧ�ڧ� ����ѧߧڧ��: 0 |
proxy
|
phpinfo
|
���ѧ����ۧܧ�