1 / 4

Perl から CGI へ

Perl から CGI へ. CGI プログラムへの改造. 学習内容の位置づけ. とりあえず版. hogehoge .pl. Perl スクリプト の作成. hogehoge .cgi. CGI プログラム. への改造. 本日はここ !!. プログラムにこんな ウェッブページを 描かせたい. Perl スクリプトから CGI プログラムへ. hogehoge. pl. 前回作成した Perl スクリプト. # 私の Perl デビュー作. print ” こんにちは。 <br> ” ; print ” 椎爺亜衣です。 <br> ” ;

Télécharger la présentation

Perl から CGI へ

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Perl から CGI へ CGIプログラムへの改造

  2. 学習内容の位置づけ とりあえず版 hogehoge.pl Perl スクリプトの作成 hogehoge.cgi CGI プログラム への改造 本日はここ!! プログラムにこんな ウェッブページを 描かせたい

  3. Perl スクリプトから CGI プログラムへ hogehoge. pl 前回作成したPerl スクリプト # 私のPerlデビュー作 print ”こんにちは。\n” ; print ”椎爺亜衣です。\n” ; print ”よろしくね。\n” ;

  4. Perl スクリプトから CGI プログラムへ HTML CGI に書かせたい ソース 拡張子変更 hogehoge. pl cgi <HTML> <HEAD> <TITLE>自己紹介</TITLE> </HEAD> <BODY> こんにちは。 椎爺亜衣です。 よろしくね。 </BODY> </HTML> Perl実行ソフトの場所 #!D:\usr\local\bin\perl # 私のPerlデビュー作 Content-type ヘッダ print ”Content-type:text/html\n\n” ; print ”<HTML>\n” ; print ”<HEAD>\n” ; print ”<TITLE>自己紹介</TITLE>\n” ; print ”</HEAD>\n” ; print ”<BODY>\n” ; 大体こんな感じ・・・ HTMLタグの追加 print ”こんにちは。\n” ; print ”椎爺亜衣です。\n” ; print ”よろしくね。\n” ; print ”</BODY>\n” ; print ”</HTML>\n” ;

More Related