/index_1,index_2,index_3$index = "index_".rand(10)."html";
header("Location:$index");
解决方案 »
- mysql里的int跟int(num)有何区别?
- PHP6会出多线程吗?
- 用户管理系统问题
- 根据不同国家的访问用户重定向到不同网页
- 上传文件问题。。。
- php 在shell下执行可否暂停程序运行等待用户输入?
- 求救,高校人才招聘信息管理系统谁能帮我出点意见?
- 禁止盗链的问题?小弟恭迎高手光临!!!
- 拒绝创建数据库:无引号的数据库名
- Warning: Failed opening '/var/www/html/bbs/index.php' for inclusion (include_path='.:/usr/lib/php') in Unknown on line 0
- 请教高手!!!!
- 为何时间戳不能转换?
index2.php为想显示的首页2<?php
//index.php
if(登录){
echo "<script>window.location =\"index1.php\";</script>";
}else{
echo "<script>window.location =\"index2.php\";</script>";
}
?>
$ab = mt_rand(1,2);
$index=......;
header("Location: ./$index");