Using ASP to implement a mail system that supports attachments (ii)

This is about processing the sent page, the first part is to get the sender's IP address and MAC address, and prohibit users to change their own IP address code, because our system is the need for personal modification of IP behavior to

ASP Beginner's Tutorial: ASP Cookies

ASP Cookies Cookies are often used to identify users.Example Dim numvisitsResponse.Cookies ("NumVisits"). expires=date+365Numvisits=request.cookies ("NumVisits") If numvisits= "" ThenResponse.Cookies ("NumVisits") =1Response.Write ("welcome!

Several database connection ways of ASP

ASP several database connection way ' If you use the Foreign home page space, use the following statement: '' Rem codepage= ' 936 'Sqlkai=0Dim Sqldatabasename,sqlpassword,sqlusername,sqllocalnameSqllocalname= "(local)"Sqlusername= "Nntoa"Sqlpassword=

ASP beginners must look at the paging program

--- " site template | WEB"I=0sqlmb= "SELECT * from WEBMB ORDER BY id DESC"Call OpendbRs.Open sqlmb,conn,1,1If not rs.eof thenPage=cint (Request.QueryString ("page"))If Page=0 ThenPage=1End IfRs.pagesize=15If not isnumeric (page) or

ASP multiple table Joint query statement

Table A:Venid Venname0001 Company 10002 Company 2 Table B:Docno Venid CDATE20090001 0001 2009-01-0120090002 0002 2009-01-0220090003 0001 2009-01-03 C Table:Docno PLU STORY20090001 1111 2520090001 2222 2020090002 3333 1520090002 4444 2520090003 1111 2

ASP Paging Program

' Procedure name: ShowPage' Function: Show "previous page next page" and other information' parameter: sfilename----link Address' Total number of totalnumber----' Maxperpage----number per page' Showtotal----Show total quantity'

ASP establishes a connection with an Access database

How to establish a connection with the database through ASP is a very realistic problem, I try to write very detailed. I believe you have been able to write similar simpler and more practical programs by reading this article. (i) Selection of

ASP Clear Cache method

The purge method clears any buffered HTML output.Note: This method does not explicitly respond to the title, only the body reacts.Note: If response. The buffer is false, and this method will result in a run-time error.Grammar Response. Clear

ASP Send mail Code

function SendMail (mailserveraddress,addrecipient,subject,body,sender,mailfrom) On Error Resume Next Dim JMail Set jmail=server.createobject ("Jmail.smtpmail") If Err Then Sendmail= " not installed JMail components " Err.Clear Exit function End

ASP User Login Program

'=====================================================================' Software name: New Cloud Website Management system' Current version: Newcloud Site Management System version 2.1' File name: admin_password.asp' Update Date: 2004-12-20'

ASP Delete User Program

Site administrator can be based on the user's activities in the site and the legality of management, if the implementation is unbearable can delete the user, here is not to say is delete users can delete files, and so on, this is just a simple file

ASP URL conversion function

' Function name: Relativepath2rootpath' function: Convert to root path format' Parameter: URL----original URL' return value: converted Url'================================================Function relativepath2rootpath (URL)Dim StempurlStempurl =

ASP Read database fields

Today came up with the idea of using ASP to get all the table names in the database, the field names of all the tables, and the contents of all the fields in the database only if you know the names of the databases. After a period of time to query

A simple ASP Getting Started tutorial

A simple ASP Getting Started tutorialDim strname,stremail,strhomepage,strcontent,strtable,strdsnStrname=request.form ("name")Stremail=request.form ("email")Strhomepage=request.form ("homepage")Strcontent=request.form

ASP to add watermark code to the picture

Set JPEG1 = Server.CreateObject ("Persits.jpeg") Set JPEG2 = Server.CreateObject ("Persits.jpeg") Jpeg1.open Server.MapPath ("1.jpg") Jpeg2.open Server.MapPath

ASP Site Search Source

asp Site Search Source Please enter the key word: multiple keywords separated by "space" or "comma"! If Request.Form ("Submit") <> "thenDim database,conn,connstrdatabase= "Example.mdb" database nameSet Conn=server.createobject ("Adodb.connection") '

ASP File Upload Component Persits.uploadprogress

Response.Expires =-1PID = Request ("pid")Timeo = Request ("to")Set uploadprogress = Server.CreateObject ("persits.uploadprogress")Format = " is uploading, please wait patiently ... %t%t%b3%t speed: (%s/seconds) Estimated time Remaining:%r%r%u/%v (%p)

ASP filters HTML-sensitive characters into HTML-encoded functions

chr

ASP tutorial filtering HTML-sensitive characters into HTML-encoded functions' This function is based on the user's incoming parameters and then traversing the HTML-sensitive characters into HTML-encoded form, which filters sensitive HTML.

A good paging method, data deletion method (with confirmation and cancellation windows), search for keyword (including spaces) processing-ASP tutorial, data

Keyword = request ("Keyword ")Keyword = replace (Keyword ,"","")Page = Request. QueryString ("page ")SQL = "select * from exam information where exam name like '%" & keyword & "% '"Rs. open SQL, conn, 1, 1Dim page, maxPerPageMaxPerPage = 2' number

Various database connection codes in ASP

Various database connection codesI have nothing to do today. I have summarized the connections to various databases and share them with you:MS Access database connectionUse DSN to connect without the user name and password:Set conn = Server.

Total Pages: 1800 1 .... 1463 1464 1465 1466 1467 .... 1800 Go to: GO

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.