开发者

auto-click the SUBMIT button?

If the user manually clicks the 'submit' button, i use this code:

if (isset(开发者_开发百科$_POST['submit_findall'])) { ...

But what what code should I use if I want to activate this from within a script ?

Thanks!


if($_SERVER['REQUEST_METHOD']=='POST') is bullet proof indicator of the POST form submit


Change:

if (isset($_POST['submit_findall'])) { 
    // Something
}

to:

// Something
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜