标题转换所有的标记为PHP
日期:2008-01-22    作者:semirock   来源:444p.com
文章打印自: PHP学习之家
访问文章完全地址: http://www.444p.com/example/php-example/aid2019/
头部广告

[code]<?
 print("<HTML>\n");
 print("<HEAD>\n");
 print("<TITLE>转换所有的标记为PHP</TITLE>\n");
 print("</HEAD>\n");

 $Hour = date("H");
 $Intensity = round(($Hour/24.0)*(0xFF));
 $PageColor = dechex($Intensity) . dechex($Intensity) .  dechex($Intensity);

 print("<BODY BGCOLOR=\"#$PageColor\">\n");

 print("<H1>转换所有的标记为PHP</H1>\n");

 print("</BODY>\n");

 print("</HTML>\n");
?>[/code]

责任编辑:aaa