function link(){ $str=' <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>防伪码</title> <link href="css/style.css" rel="stylesheet" type="text/css" /> <link href="css/fw.css" rel="stylesheet" type="text/css" /> <style> .fw_k{font-size:20px;} .fw_k a{margin:0px 10px;padding:0px 10px;text-decoration:none;color:red;} .fw_k a:hover{text-decoration:underline;} </style> </head> <body> <form name="form1" method="post" action="get.php" enctype="multipart/form-data"> <div class="top"> <div class="login"><a href="/"><img src="images/fw_02.jpg" /></a></div> </div> <div class="fw" style="background:none;"> <div class="cenner" > <div class="fw_k" style="background:#fff none;padding-top:55px;text-align:center;"> <b>相关链接:</b><a href="javascript:history.go(-1)">返回验证页面</a> <a href="/">进入官方网站</a> </div> <div class="fw_bz"><img src="images/fw_10.jpg" /></div> </div> </div> </form> </body> </html> '; return $str; }
在windowxp window2003下可以使用,用linux的centos就不行了,不清楚是不是单双引号的问题?
评论