php实现在线通讯录功能(附源码)
程序员文章站
2023-12-22 13:58:34
本文实例为大家分享php在线通信录编写代码,供大家参考,具体内容如下
本文实例为大家分享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">添加信息</h2> <form method = "post" action = "add_do.php"> <table cellpadding = "0" cellspacing = "0"> <tr> <td>姓名:</td> <td><input type = "text" name = "username" /></td> </tr> <tr> <td>性别:</td> <td> 男<input type = "radio" name = "usersex" value = "1" checked = "checked" /> 女<input type = "radio" name = "usersex" value = "0" /> </td> </tr> <tr> <td>生日:</td> <td><input type = "text" onclick="new calendar().show(this);" name = "userbirth" /></td> </tr> <tr> <td>电话:</td> <td><input type = "text" name = "usertel"></td> </tr> <tr> <td>地址:</td> <td><input type = "text" name = "useraddr"></td> </tr> <tr> <td colspan = "2" style = "text-align:center;"> <input type = "submit" name = "sub" value = "提 交" /> </td> </tr> </table> </form> </div> <?php require_once "footer.php"; ?> </body> </html>
源码下载:在线通讯录
以上就是本文的全部内容,希望对大家学习php程序设计有所帮助。
推荐阅读
-
php实现在线通讯录功能(附源码)
-
Android实现画板、写字板功能(附源码下载)
-
PHP在线调试执行的实现方法(附demo源码)
-
Android编程实现TextView垂直自动滚动功能【附demo源码下载】
-
PHP+Ajax实现无刷新分页实例详解(附demo源码下载)
-
使用Java实现系统托盘功能的介绍(附源码以及截图)
-
Android编程实现TextView垂直自动滚动功能【附demo源码下载】
-
Zend Framework实现留言本分页功能(附demo源码下载)
-
Zend Framework实现具有基本功能的留言本(附demo源码下载)
-
Android TextView实现点击显示全文与隐藏功能(附源码)