Visit index.php
<?php
$so = scws_new();
$so->set_charset('gbk');
// There is no call to set_dict and set_rule here. The system will automatically try to call the dictionary and rule files under the path specified in ini
$so ->send_text("Miss, I like you, please be my girlfriend!");
while ($tmp = $so->get_result()){
print_r ($tmp);
}
$so->close();
?>
This is the code:
The error is reported as follows: Fatal error: Uncaught Error: Call to undefined function scws_new() in /www/wwwroot/index.php:2 Stack trace: #0 {main} thrown in /www/wwwroot/index.php on line 2
In this case, is there any good way to solve this problem? I would like to ask the experts. I would like to thank you here.
##
The PHP version has not been switched over, it is completely wrong