posted 14 years ago
I write a php file, and want it posts username and password to login.php as soon as the php file is loaded. Then I write these javascript.
I find these scripts works in Firefox, Opera, Chrome, Safari, but not in IE.
I discover the ie will also request the login.php, but the time is so short. And the other browsers will request the login.php for a longer time.
Anyone would like to help me?
Perhaps this isn't the proper method to post one form to two php file at the same time, so anyone can give me a sample on this?
the js file
and this is the form
I want the login.php to display in the hidden iframe, so that the user won't find the post.