How can I run several PHP scripts from within a PHP script (like a batch file)?

后端 未结 4 1768
我在风中等你
我在风中等你 2021-01-05 09:50

How can I run several PHP scripts from within another PHP script, like a batch file? I don\'t think include will work, if I understand what include is doing; because each o

4条回答
  •  逝去的感伤
    2021-01-05 10:51

    // use exec http://www.php.net/manual/en/function.exec.php

    
    

    In the old days I've done something like create a frameset containing a link to each file. Call the frameset, and you're calling all the scripts. You could do the same with iframes or with ajax these days.

自定义标题
段落格式
字体
字号
代码语言
提交回复
热议问题