有没有办法使一个php文件始终运行并且可以由其他php文件/请求访问?\n我想让一些函数、对象、变量或其他东西始终在服务器上运行。\n示例:\n[alwaysrunning.php]\n
$conn = fsockopen($serverip, $serverport, $errno, $errstr, $ex);
\n[index.php]\n
fwrite($conn, $command."\n");
\n抱歉我的英文,谢谢!
用户名或邮箱地址
密码