本文实例为大家分享
php
在线通信录编写代码,供大家参考,具体内容如下
<?php
session_start();
define("N", TRUE);
if(empty($_SESSION["uid"])) {
header("Location: ./login.html");
}
?>
<!doctype html>
<html>
<head>
<title>
添加
</title>
<meta http-equiv="content-type" content="text/html;charset=utf-8">
<link rel="stylesheet" href="css/index.css" />
<script type="text/javascript" src="js/calendar.js"></script>
</head>
<body>
<?php
require_once "header.php";
?>
<div id = "add">
<h2 class = "title">
添加信息
</h