PHP 图片验证码的怪问题。。。session不同步
上代码:
login.html
<!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>
</head>
<body>
<div class="logindiv">
<form action="http://localhost/ICxinyong/admin/index.php?c=Login" method="post" id="loginform">
<ul>
<li class="row"> <div class="firstcol">用户名: </div> <div class="secondcol"> <input type="text" id="username" name="username"/> </div> </li>
<li class="row"> <div class="firstcol">密 码: </div> <div class="secondcol"> <input type="password" id="password" name="password" /> </div> </li>
<li class="row"> <div class="firstcol">验证码: </div> <div class="secondcol"> <input type="text" id="authnum" maxlength="4" na
相关问答:
各位大侠
求一段php代码
可以实现以下功能
针对不同的浏览器显示不同的图片
就是有一张图片,只想给ie6用户看到
如果ie7、chrome、firefox用户浏览则显示另外一张图片  ......
各位大些
求一段php代码
可以实现以下功能
针对不同的浏览器显示不同的图片
就是有一张图片,只想给ie6用户看到
如果ie7、chrome、firefox用户浏览则显示另外一张图片
价格不要太离谱就行 ......
我刚学习php请问,如果我把php文件上传至服务器后,例如http://www.****.com/cast.php这个文件会不会被别人下载或复制阿?
可以被下载,也可以不被下载,看web服务器对该文件权限的配置
看你对文件权限的设置
......
请问
object(Helper_Uploader_File) {
protected '_file' => array(
'name' => string '4_光影_1.jpg' (length=14)
'type ......
$a = 100;
$b = $a;
$a = $a + 10;
echo $b; 请写出$b的值为? 请说出为什么?
我觉得&b=100;因为变量前没有用global ,所以就算变量名相同,也属于与不变量,值是不同的。所以$b=$a相当于$b=100;不知道对不对 ......