current_time-cgi_pm.cgi
来自「嵌入式WEB」· CGI 代码 · 共 16 行
CGI
16 行
#!/usr/bin/perl -wTuse strict;use CGI;my $q = new CGI;my $timestamp = localtime;print $q->header( "text/html" ), $q->start_html( -title => "The Time", -bgcolor => "#ffffff" ), $q->h2( "Current Time" ), $q->hr, $q->p( "The current time according to this system is: ", $q->b( $timestamp ) ), $q->end_html;
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?