I don't understand why this would be a problem. You should be able to just change the URL from page.htm to page.php and it will work.
Note: If you are testing this script locally (on your computer), it may not work. There are different security restrictions while using the script locally. Upload it to your website and it may work. I believe this is especially problematic (in some cases) in Internet Explorer. But for all browsers it will be more realistic to test while upload anyway.
If you need more help:
Please post a link to the page on your site that contains the problematic script so we can check it out.
Bookmarks