下一篇 » « 上一篇

转换所有的标记为PHP

作者:semirock    时间:2008-01-22    来源:444p.com    点击:2084    本文共1篇文章 字体:[ ]

[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);

php学习之家

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

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

 print("</BODY>\n"); www.444p.com

 print("</HTML>\n");
?>[/code]
本文来自 www.444p.com

责任编辑:aaa
发表评论
密码: (游客不需要密码)
记住我【Alt+S 或 Ctrl+Enter 快速提交】

搜索工具