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
精彩评论