-
-
...件中admin开头的为管理员功能,reader开头的为读者功能。index.php为登陆页面。mysqli_connect.php为数据库连接文件。如何使用下载本系统压缩包并解压至服务器www目录下。将sql文件导入数据库。在本系统mysqli_connect.php文件中配置数据...
-
-
...}
else
{
$_SESSION['action1']="*Invalid username or password";
$extra="index.php";
echo "<script>window.location.href='".$extra."'</script>";
exit();
}
}
?>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
...
-
-
...hp');
if(strlen($_SESSION['alogin'])==0)
{
header('location:index.php');
}
else{
date_default_timezone_set('Asia/Kolkata');// change according timezone
$currentTime = date( 'd-m-Y h:i:s A', time () );
if(isset($_POST['submit']))
{
$sql=mysqli_query($con,"SELECT password FROM&...
-
-
...SESSION['pcode'])==0)
{
header('location:index.php');
}
else{
if(isset($_POST['submit']))
{
$studentregno=$_POST['studentregno'];
$pincode=$_POST['Pincode'];
$session=$_POST['session'];
$dept=$_POST['department'];
$level=$_POST['level'];
$course=$_POST['co...
-
-
...fig.php');
if(strlen($_SESSION['login'])==0)
{
header('location:index.php');
}
else{
?><!DOCTYPE HTML>
<html lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
...
-
-
...SESSION['login'])==0)
{
header('location:index.php');
}
else{
// Code forProduct deletion from wishlist
$wid=intval($_GET['del']);
if(isset($_GET['del']))
{
$query=mysqli_query($con,"delete from wishlist where id='$wid'");
}
if(isset($_GET['ac...
-
-
...bsp; .navbar-toggler {
z-index: 1;
}
@media (max-width: 576px) {
nav > .container {
&nb...
-
-
...想了解更多请下载附件。现在为用户输入创建一个HTML。 index.php<form name="ContactForm" method="post">
<h4>your name</h4>
<input type="text" name="name" class="user" placeholder="Johne" autocomplete="off" required>
<h4>your phone number</h4>...
-
-
...orting(0);
if(strlen($_SESSION['login'])==0)
{
header('location:index.php');
}
else{
if(isset($_POST['submit']))
{
$category=$_POST['category'];
$description=$_POST['description'];
$status=1;
$query=mysqli_query($con,"insert into tblcategory(CategoryName,Description,Is_Active) val...
-
-
...)
{
header("Location: index.php");
}
else{
if(isset($_POST['submit']))
{
$subjectname=$_POST['subjectname'];
$subjectcode=$_POST['subjectcode'];
$sql="INSERT INTO tblsubjects(SubjectName,Subject...