如何在php中隐藏浏览器选项卡


how to hiding browser tab in php?

当程序在我的php程序中执行一行时,我确实需要隐藏我的浏览器选项卡,但浏览器和其他选项卡仍然有效

例如

<?php
function hideBrowsertab(){
    //in here program will hiding tab but browser still live
}
//action 1 bla bla bla 
//action2 bla bla 
//action 3 call hideBrowertab function
hideBrowsertab();
?>

如何在操作3中隐藏浏览器选项卡?

我认为在php中无法做到这一点。因为php脚本是在服务器端执行的。

如果你想拥有一个复杂的网络应用程序,有很多用户交互,你可能应该看看AJAX模式。