Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我陷入了一个非常大的问题。
在我的网站中,我调用了这个函数,用于执行这个名为“sched.php”的文件
function write() passthru('php /var/www/html/sched.php',$err); return $err; }
但什么也没做。这是我的输出:
<output of sched.php> 1
我不明白,我的错误在哪里?
尝试这个:
include "sched.php"; //plus the path, if needed return $err;