Код: Выделить всё
<?php $xhe_host = "127.0.0.1:7010";
if (!isset($path))
$path="../../../Templates/xweb_human_emulator.php";
require($path);
$set_hook_on_begin_transaction = $raw->set_hook_on_begin_transaction("begin_transaction_hook1.php");
echo "set_hook_on_begin_transaction=$set_hook_on_begin_transaction\n";
$enable_all_streams = $raw->enable_all_streams(true);
echo "enable_all_streams=$enable_all_streams\n";
Код: Выделить всё
set_hook_on_begin_transaction=
enable_all_streams=1
Открывал прямо с папки Test Samples\Web\raw, файл begin_transaction_hook1.php там есть нетронутый.
Версия 7.0.40.