Here’s A Quick And Easy Fix That Will Allow You To Embed Powerful PHP Code Inside Ordinary HTML Web Pages!
There are many solutions on the Internet which involve adding a small amount of PHP code to an HTML web page in order to provide additional features on the page. Examples include adding a page view counter or showing the current server time/date on your web page.
Adding PHP code to a web page normally means you have to rename your web page to be a ‘.php’ file instead of a ‘.htm’ file. While renaming a file is not difficult, it is hassle because all links to the page have to be changed (so for example, any links to page1.htm would need changing to link to page1.php).
Php Activator offers an alternative solution, enabling php code to be inserted into normal web pages. This means you can insert PHP code into your web pages and leave them as ‘.htm’ or ‘.html’ pages.
Php Activator also comes with some simple PHP code examples that you can insert into your web pages to:
- show a page view counter
- show the visitors IP address
- show the current server time/date (useful if you have an offer which starts or ends at a particular time – because your visitors may be in a different time zone)