Unfortunately none of the window.open method and the AJAX object XMLHttpRequest worked as I expected.
The first didn't pass any html variables to the php file and also did a refresh to the html page.
The second did not execute the php file possibly because it just opens it as a text reader. It also did a refresh to the html page.
The ideal would be in the
<FORM method="post" action="http://localhost/phpfile1.php?param1=5¶m2=0" >
to add an attribute that would tell the web browser to run this file in the background.
There is the target attribute that tells the browser the target window where the action file will output.
I still cannot find a way to run the action in the background.
Does anyone have any suggestions?
I really need to fix that.