Server IP : 85.193.89.191 / Your IP : 3.21.97.173 Web Server : Apache System : Linux 956367-cx40159.tmweb.ru 3.10.0-1160.105.1.el7.x86_64 #1 SMP Thu Dec 7 15:39:45 UTC 2023 x86_64 User : bitrix ( 600) PHP Version : 8.1.27 Disable Function : NONE MySQL : OFF | cURL : OFF | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /home/bitrix/www/ajax/ |
Upload File : |
<?define("STATISTIC_SKIP_ACTIVITY_CHECK", "true");?> <?define('STOP_STATISTICS', true); define('PUBLIC_AJAX_MODE', true);?> <?require($_SERVER["DOCUMENT_ROOT"]."/bitrix/modules/main/include/prolog_before.php");?> <? $bError = false; if(!check_bitrix_sessid()) $bError = true; if($_POST['itemId']) $_SESSION['SUBSCRIBE_PRODUCT']['LIST_PRODUCT_ID'][$_POST['itemId']] = $_POST['itemEmail']; else $bError = true; echo Bitrix\Main\Web\Json::encode( array( 'TYPE' => ($bError ? 'ERROR' : 'SUCCESS'), 'message' => 'NO_DATA' ) ); ?>