作者:cf15ron | 来源:互联网 | 2018-04-25 04:19
require'.SmartylibsSmarty.class.php';$smartynewSmarty();$smarty->template_dir".templates";$smarty->compile_dir".compile";在netbeans中调试php程序,调试运行到newSmarty();时,netbeans弹出套接字异常错误。非调试运行时,程序运行正常。
netbeansphp套接字错误smarty
require './Smarty/libs/Smarty.class.php';
$smarty = new Smarty();
$smarty->template_dir="./templates";
$smarty->compile_dir="./compile";
在netbeans中调试php程序,调试运行到new Smarty();时,netbeans弹出套接字异常错误。
非调试运行时,程序运行正常。