I have a html page which would like to include a php script to it, the script is to check the current page URL and if the address is a "specific" address, the page would be redirect to a blank page.
The script is tested and ok, but I don't know how can I add it to the html page..as I don't want to change the page extension from html to php.
I have tried to use an image <img src="myscript.php" width="0" height="0"> but it seems that the script doesn't work.
I have also tried to use js instead..but as I can only include the script in onLoad section, the page may be loaded before the script takes action.
please advise on how can I do that..thanks!