Strict Standards: Non-static method Protector::getInstance() should not be called statically in /home/suehirogari/suehirogari.com/xoops_trust_path/modules/protector/include/precheck_functions.php on line 12

Strict Standards: Non-static method XCube_Root::getSingleton() should not be called statically in /home/suehirogari/suehirogari.com/public_html/include/common.php on line 18

Deprecated: Non-static method XCube_Root::getSingleton() should not be called statically, assuming $this from incompatible context in /home/suehirogari/suehirogari.com/public_html/modules/user/preload/Primary/Primary.class.php on line 13
DreamWeaverでcgiやplファイルを編集する方法 | 社内SEのウェブ制作

2011.07.01Dreamweaver

DreamWeaverでcgiやplファイルを編集する方法

自分はドリームウィーバーを使ってファイルを編集しているのですが、
初期の設定ではcgiファイルを認識してくれません。

あるファイルにCGIと追加すればいいだけなので設定方法をご紹介します。

C:\Users\ユーザ名\AppData\Roaming\Adobe\Dreamweaver CS4\ja_JP\Configuration
の中の「Extensions.txt」というファイルです。

一番上の行に:All Documents という行がズラズラ~っと書いてあるので、そこに
「CGI」あとは、「HTACCESS」でも追加しておけば便利でしょう。

一度Dreamweaverを再起動すれば開けるはずです!

ただし、Dreamweaverでcgiファイルを編集する場合は、下記の点に気を付けてください。

Drewmweaverの「編集」→「環境設定」→「環境ドキュメント」→「Unicode Signature(BOM)を含める」
のチェックを外してください。

 

BOMとは、Byte Order Markの略で、UCSを識別するための印として付与するものです。しかし、文字コードがUTF-8を使用している場合に、BOMを含めてしまうと、 ASCII文字との互換性が失われてしまうため、CGIなどのプログラムで利用する際に動作しなくなることがあります。


このカテゴリの人気記事



  • コメント (0)
  • トラックバック (0)
  • 閲覧 (18655)

トラックバック

トラックバックpingアドレス http://www.suehirogari.com/modules/blog/tb.php/245

コメントの投稿

コメント投稿に関するルール : コメントは全て承認が必要

キーワードでサイト内を検索
人気のエントリ