How To Run PHP in HTML PagesどのようにHTMLページがPHPを実行する
This technique will only work if your Apache server has PHP enabled (この手法でのみ動作するApacheサーバは、 PHPの場合は有効になって( how to test php support in apache http serverどうかをテストするPHPのサポートされApache HTTPサーバー ) and .htaccess enabled. )と。 htaccessを有効にします。
In the root directory of your html files create a file named .htaccess .のルートディレクトリにしてhtmlファイルの名前のファイルを作成します。 htaccessのです。 The file may already be present.このファイルが既に存在します。
Open the file in your favorite editor and add the following lines:お好みのエディタでファイルを開きます以下の行を追加します:
addtype application/x-httpd-php .html するAddType application / -のhttpd - PHPのです。 HTMLの
addtype application/x-httpd-php .htm するAddType application / -のhttpd - PHPの。 htmの
Done!完了した!
Filed under提出されて Headline Newsニュースの見出し , 、 How Toどのように , 、 PHP PHPの , 、 Tech Note技術のノート , 、 Webウェブ , 、 Web Hostingウェブホスティング , 、 Web Services Webサービス | |
| |
RSS 2.0 RSS 2.0を | |
Trackbackトラックバック this Article |この記事|
Email this Article電子メールこの記事
You may also like to readを読むようにすることも可能 |



