I am using Windows7 with IE9. I want to extract the URL form the address bar of the IE9 browser.
The user will type one URL in the browser, like
www.google.com
and press enter button or any click event (like GO button or Search button in Firefox) . I want to connect a script program with this enter enter button or click event. Then this complete URL should be pass to the that script program for parsing the URL.
I wrote my script in a php file like,
{
$url="http://".$_SERVER['HTTP_HOST'].$_SERVER['REQUEST_URI'];
}
i want to execute this code when the user press the enter button in web browser.
Can anybody explain the procedure...................
Can i use the browser events to extract the URL from the browser?
Is this browser good for this process.......? Thanks in advance