![]() |
|
首页 │ Apache │ Linux│ Java│ MySQL│ 注册│帮助 | |||
相关问题
怎么把php代码显示出来呀比如说:
把
<?php
include("../conn.php");
$username = $HTTP_POST_VARS['username'];
$password = $HTTP_POST_VARS['password'];
if($username=='profile' and $password=='123456'){
setcookie("A_JOB_USERNAME",$username);
setcookie("A_JOB_PASSWORD",$password);
header("Location: admin1.php");
}
else{
header("Location:index.php");
}
mysql_close($link);
?>
上面这段代码赋给一个变量$a,然后在写进文本里,这个该如何做呢,
该如何转义这段代码???谢谢
提问者:whwzp 08-13 19:07
答复

