Hello to everyone and Happy New Year.
Is it possible to execute external files via event handlers??
I want from an HTML (including JavaScript) web page to execute external files via event handlers.
What I actually want to do is to execute in the background some php files (and do not display anything in the web browser - not even refresh the web page I have loaded).
I've created some forms like the following:
<FORM method="post" action="http://localhost/phpfile1.php?param1=5¶m2=0" >
and the input as follows:
<INPUT type="submit" value="Submit1" name="Submit php" onMouseOut="if (navigator.appName=='Microsoft Internet Explorer') document.execCommand('Stop'); else window.stop();">
With the onMouseOut event handler I successfully stop the efforts of the web browser to show the results of the php execution. This is what I want from this event handler.
I also want to have an event handler to start the execution of phpfile1.php.
The reason is I want the onMouseDown to start the php file and the onMouseUp to stop it.
In this way I can achieve that the web browser does not turn away from showing the html page I want, and at the same time execute the php files I want.
Anyone can help me please?
If you did not understand very well what I'm looking for, then please check the following link:
http://www.daniweb.com/forums/post770505.html
Is there any other suitable way to achieve my aim?
Thank you for your time.