2013-05-26 第1回 PHPの基礎(1) - PHPファイルの構成 PHP PHP とは PHP は「PHP: Hypertext Preprocessor」の略で、頭文字を取って「PHP」です。 詳しくは Wikipedia でも読んでください。 あとマニュアルは必須。 「PHPとはなんでしょう?」という項目があるので、読んでおいてください。 PHPファイルを開く ここでやることは、CodeIgniter に含まれるPHPファイルを読んで、PHPのプログラムがどのような構成になっているかを理解することです。 テキストエディタを起動して、次のファイルを開いてください。 controllers/welcome.php 特に断りがない場合を除き、ファイルの場所は CodeIgniter をインストールした場所の下にある application フォルダからの相対パスで書きます。 つまり