网络营销电子商务研究中心

网络营销电子商务研究中心 (https://www.0058.net/index.php)
-   网赚研究院 (https://www.0058.net/forumdisplay.php?f=18)
-   -   a .htm page that gets content from php. (https://www.0058.net/showthread.php?t=3053)

topvip 2008-02-04 10:48 PM

a .htm page that gets content from php.
 
Technically, this can easily be done with a .htaccess file. You don't even need mod_rewrite. Just say HTML files are PHP.

If that is all, then you can add

AddType application/x-httpd-php .html

to your .htaccess file.

This tells the server to parse your html files for php. Then simply place some php code within your page as you would a normal php file and it will be parsed.


All times are GMT +8. The time now is 10:38 PM.

Powered by vBulletin Version 3.8.7
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.