Main Features:
Php+mysql,session page protection, whisper function, photo upload, online modification information, email inquiry and automatic reply, Guest mode,
A convenient class management
List of programs:
Configuration section:
Configuration file: class/config.php Database file: Class/mysql.txt counter file: Class/counter.txt
Main program:
Login Home: index.php member Home: main.php Guest Home: class/guest.php
Personal Management:
Class Address Book: class/address.php Personal Data modification: class/modify.php upload photos: class/uploadphoto.php
Password query: class/querypsw.php whisper: privatenote.php
Registration section:
Registration Step 1:class/register_step1.php Registration Step 2:class/register_step2.php
Photo section:
Class Photos: class/classphoto.php School photos: class/schoolphoto.php personal photos: class/privatephoto.php
Guest Book section:
Class Members Guest book: Show message: class/notebook/index.php Add message: class/notebook/addnote.php
Guest Book: Display message: class/notebookg/index.php Add message: class/notebookg/addnote.php
Class Management Section:
Home: superadmin.php Add Members: class/admin/addmember.php display, delete members: class/admin/member.php
Modify member Data: class/admin/editmember.php Modify member Data step 2:class/admin/editmember_step2.php
Class member guest Book Management: class/notebook/delnote.php guest Book Management: class/notebookg/delnote.php
Other:
Help file: Readme.txt Pictures: Class/image
Precautions:
1. First the configuration file config.php to upload, according to mysql.txt content to establish a database.
2. Change the Counter.txt property to 777 when uploading
3. Photo Upload program in some home space can not be achieved, we try 51.net Bar, pay attention to keep the Class/upload/image directory.
4. The mail () function may be wrong when debugging on the computer, and it can be uploaded to the server.
5. Due to the time, also take into account the photo upload is not easy to achieve in the personal homepage, class photos, personal photos and other pages please change it yourself.
6. I am a beginner of PHP, the procedure needs to be further improved, this procedure is only for rookie reference.
program Example: http://medguider.host.wayall.com/
Contact Way: webmaster@medguider.51.net
Because there are too many program code, only some of the important code is posted here. Complete program please go to my homepage to download: http://www.medguider.com
Configuration section:
Database files: class/mysql.txt
CREATE TABLE User (id char (2), user char (), PSW char (8), name char (8), sex char (2), birth char (x), work varchar (m), ad Varch AR, Post char (6), ph varchar (m), BP varchar, email varchar (), Oicq char (), photo varchar (255), Account varchar ( 255), Count Int (4) Default ' 1 ', signature varchar (255), face Int (2));
Member table ID record number user username PSW password name sex sex birth birthday work work unit AD mailing address post postal code ph phone bp paging email email Oicq OICQ count Count The default value is 1
Photo Personal photo Account Personal Description Signature personal signature face portrait (default=1)
CREATE table notebook (user char (), Time char (), IP varchar (), title varchar (255), nnote text);
Class Members guest book user name time IP title nnote content
CREATE TABLE notebookg (name char (8), email varchar (), time char (m), face char (2), IP varchar (), title varchar (255), Nnote text);
Visitor Guest Book name name email time face Avatar IP title nnote content
CREATE TABLE Privatenote (ID char (), Fromuser char (), Touser char (a), Time char (a), Message Text,look char (1) Default ' 0 ');
Private Message ID record number Fromuser sender name Touser recipient username Time send a date message information look, the default value is 0
Configuration file: class/config.php
<?php
$sitename = "Xing Lin alumni"; Station Roll Call
$url = "http://medguider.host.wayall.com/"; Site URL
$db = mysql_connect ("localhost", "root");//Here is your MySQL username password
mysql_select_db ("Test", $db);
$supervisor = "Demo"; Super Administrator name
$SUPERPSW = "Demo"; Super Admin password
$superemail = "demo@demo.com";//Super Admin Email
$question 1= "Demo"; Registration Tips 1
$answer 1= "Demo"; Registration Prompt Answer 1
$question 2= "Demo"; Registration Tips 2
$answer 2= "Demo"; Registration Prompt Answer 2
?>
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.