各种各样地小程序集合.docVIP

  • 2
  • 0
  • 约1.1万字
  • 约 16页
  • 2018-07-13 发布于江苏
  • 举报
各种各样地小程序集合

自动连接 是数据自动 导入数据库 数据库名随便写 方便人员首页:进行连接。。。。判断?phpsession_start();if(!is_file(file.lock)){ header(location:http://localhost/ss/install.php); exit();}else{}$host=$_SESSION[host];$user=$_SESSION[user];$pass=$_SESSION[pass];$db=$_SESSION[db];echo $db;mysql_connect($host,$user,$pass);mysql_select_db($db);if($query=mysql_query){ echo script language=javascriptalert(yes);location.href=ss.php;/script;}else{echo script language=javascriptalert(no);/script; }? 第二个页面时连接数据库 把数据导入数据库中 自动安装程序?phpsession_start();?!DOCTYPE html PUBLIC -//W3C//DTD XHTML 1.0 Transitional//EN /TR/xhtml1/DTD/xhtml1-transitional.dtd

文档评论(0)

1亿VIP精品文档

相关文档