<?php
header('Content-type:text/html; charset=utf-8');
session_start();//初始化setcookie
$mysqli=new mysqli('localhost','root','123456','wedding');
$mysqli->query("SET NAMES UTF8");
$user_name=$_POST['ID'];
$password=$_POST['psd'];
if(is_array($_POST)&&count($_POST)>0){
$dlsql="SELECT * FROM user WHERE name='".$user_name."' AND psd='".$password."' ";
$os=$mysqli->query($dlsql);
$mysqli_result=$mysqli->query($dlsql);
$rows=array();
while($row=$mysqli_result->fetch_array(MYSQLI_ASSOC))
{
$rows[]=$row;
};
if(count($rows)<=0)
{
echo "<script>alert('账号/密码错误'); window.history.back(-1); </script>";
}
else{
setcookie("user", $rows[0]['name'], time()+3600*24,"/");
setcookie("identity", $rows[0]['identity'], time()+3600*24,"/");
if ($rows[0]['identity']=="管理") {
header('location:../manage.html');
}
else{
header('location:../index.html');
}
}
}
?>
没有合适的资源?快使用搜索试试~ 我知道了~
基于php与mysql的婚礼管理系统,涉及用户、婚礼仪式等数据表,详细完整,开盒即可以运行
共569个文件
jpg:264个
png:146个
html:40个
需积分: 5 0 下载量 137 浏览量
2024-08-27
14:45:25
上传
评论
收藏 48.41MB ZIP 举报
温馨提示
基于php与mysql的婚礼管理系统,涉及用户、婚礼仪式等数据表,详细完整,开盒即可以运行
资源推荐
资源详情
资源评论
收起资源包目录
基于php与mysql的婚礼管理系统,涉及用户、婚礼仪式等数据表,详细完整,开盒即可以运行 (569个子文件)
bootstrap.min.css 190KB
bootstrap.min.css 190KB
style.css 173KB
style.css 173KB
remixicon.css 94KB
remixicon.css 94KB
layui.css 78KB
responsive.css 60KB
responsive.css 60KB
aos.css 25KB
aos.css 25KB
cf.errors.css 23KB
cf.errors.css 23KB
dark-theme.css 17KB
dark-theme.css 17KB
css2.css 17KB
css2.css 17KB
layer.css 14KB
layer.css 14KB
fancybox.css 13KB
fancybox.css 13KB
laydate.css 7KB
layer.css 5KB
flaticon.css 5KB
flaticon.css 5KB
style.css 4KB
owl.carousel.min.css 3KB
owl.carousel.min.css 3KB
odometer.min.css 3KB
odometer.min.css 3KB
code.css 1KB
remixicon.eot 394KB
remixicon.eot 394KB
iconfont.eot 46KB
flaticon.eot 37KB
flaticon.eot 37KB
loading-0.gif 6KB
loading-0.gif 6KB
loading-2.gif 2KB
loading-2.gif 2KB
loading-1.gif 701B
loading-1.gif 701B
说明.htm 3KB
index.html 102KB
about.html 62KB
blog-details-left-sidebar.html 61KB
blog-details-right-sidebar.html 61KB
shop-details.html 59KB
blog-details-no-sidebar.html 54KB
index.html 54KB
shop-left-sidebar.html 52KB
shop-right-sidebar.html 51KB
cart.html 50KB
posts-by-date.html 50KB
posts-by-tag.html 50KB
posts-by-author.html 50KB
blog-right-sidebar.html 50KB
blog-left-sidebar.html 50KB
team.html 48KB
service-details.html 47KB
project-details.html 47KB
testimonials.html 46KB
shop-grid.html 46KB
checkout.html 45KB
wishlist.html 42KB
blog-no-sidebar.html 42KB
faq.html 42KB
my-account.html 42KB
contact.html 41KB
service-one.html 41KB
service-two.html 40KB
project.html 40KB
terms-of-service.html 40KB
privacy-policy.html 40KB
pricing-plan.html 38KB
appointment.html 38KB
register.html 38KB
recover-password.html 36KB
error-404.html 34KB
picture.html 25KB
team.html 19KB
manage.html 5KB
login.html 5KB
single-service-1.jpg 858KB
single-service-1.jpg 858KB
single-service-1.jpg 858KB
single-service-1.jpg 858KB
bg-1.jpg 630KB
bg-1.jpg 630KB
single-project-1.jpg 569KB
single-project-1.jpg 569KB
single-project-1.jpg 569KB
single-project-1.jpg 569KB
hero-bg-1.jpg 564KB
hero-bg-1.jpg 564KB
single-blog-1.jpg 520KB
single-blog-1.jpg 520KB
promo-1.jpg 342KB
promo-1.jpg 342KB
promo-bg.jpg 281KB
共 569 条
- 1
- 2
- 3
- 4
- 5
- 6
资源评论
学长阿拉丁
- 粉丝: 2258
- 资源: 431
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功