For Beginners: Self-Help links (Enterprise online management) to do a play ... (A

Source: Internet
Author: User
Tags add date net
Learning | links | online | learning | link | links | Online entirely for beginners, hehe, is a simple link self-help system, of course, you can change it to what XX information management. A lot of places have, not be I invented, but still want to let more beginners understand the principle inside, think that I was puzzled son this dongdong two weeks (i stupid), OK, look at this dongdong function and required documents.
First, Function:
1, let you want to exchange links with your friends to make the initiative to send a request, and show the other side of the connection picture in the designated position. (That is, the other incoming logo path, and enter a brief introduction, site classification, or other information.)
2, so that other users can search by site type to the other link information.
3, oneself can manage link information, edit, delete to it.
It's as simple as that. Master never come to see. Oh, my God, I'm so ashamed.
Second, we need to use the documents:
1, Link.mdb, of course, is the database file. You can put it in: Database/link.mdb inside, don't be too messy.
2, manager.asp, this is the management file, if your site has a user registration system, you can through the session to open up the permissions, so that customers can modify their connection information. It shows the connection information that the user publishes here, and edits, adds, deletes three buttons.
3, conn.asp This is to open the database to call the containing file ...
4, add.asp This is to add the connection information form.
5, edilink.asp Edit the connection Information page.
6, dellink.asp Delete the connection Information page.
7, show.asp This is the list of connections displayed to the user. If you are afraid of the page too much, you can through the session to Manager.asp Management authority to do a deal. Put the manager.asp directly outside.
All right.. This is the file, isn't it too easy? Oh, my God, shame on the dead.
Third, look at how the library is set up:
The following fields are mainly available:
ID Information Number Auto number
Picurl the path character type of the attached picture
Pageurl the address number character of the connection page
Fenlei Web site category number character type
Date Date Added ()
Intraduse website profile character type
Name site names character type

Let's get here today. Now the work is very busy, a twinkling of an eye on the dawn. Another tunghsiao, blowing owe!!
It seems to be zzzzzz!!! For a while. Oh.. Tomorrow and then down.
Demo Address: http://www.jxfc.net/jiazheng.asp and http://www.jxfc.net/qiyezaixian.asp

Oh, still a little time ...
Now let's take a look at the first file:
Conn.asp's Writing,
<%
' On Error Resume Next
Set Conn=server.createobject ("Adodb.connection")
DBPath = Server.MapPath ("Database/link.mdb")
Conn. Open "Driver={microsoft Access driver (*.mdb)};d bq=" & DBPath
%>
<%codepage=936%>

With other files in a directory ... Wait for the call.



Contact Us

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.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.