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 Application Objects Tutorial

ASP Application Objects Tutorial A group of ASP files, working together to implement some so-called purposes is applied. Application objects are used in ASP to fit these files together.Application objectsAn application may be a set of ASP files

ASP Content Update Instance tutorial

ASP Content Update Instance tutorial ' Establish a connectionSet conn = Server.CreateObject ("Adodb.connection")Conn.Open = "Provider=Microsoft.Jet.OLEDB.4.0" & "Data Source =" & Server.MapPath ("Data.mdb")Dim

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 Database Backup Program

ASP database Backup program, this program is my beginner to use FSO to write an online file backup code, simple also more practical, just access to the database, backup principle is to copy the file to our point of view, well below look at the

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

Realization of Image watermark code by ASP

The ASP realizes the picture to add the watermark code, wants to install the ASPJEPG component Set Jpeg1=server.createobject ("Persits.jpeg") Jpeg1.open Server.MapPath ("1.jpg") ' artwork ' Add watermark Set Jpeg2=server.createobject

ASP Voting System II

Dim Voteid, Mychoose, I, Rs, SQLIf not IsObject (Conn) Then connectiondatabaseVoteid = CLng (Request ("Voteid"))If request.cookies ("Vote_" &voteid) = "Newaspvote_" &voteid ThenResponse.Write ("&back= has participated in the vote, thank

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)

Save remote pictures to local server several methods [php,asp]

function Get_file ($url, $folder) {    Set_time_limit (* *);       $destination _folder = $folder? $folder. ' /': '///File Download save directory             $newfname = $destination _fol Der. BaseName ($url);    $file =

ASP image upload with aspjpeg automatically generate thumbnails

AspJpeg feature Settings Set Jpeg = Server.CreateObject ("Persits.jpeg") ' Get Source picture path Path = Server.MapPath ("uploadimages/") & "/" &filename ' Open the source pictureJpeg.open Path' Create thumbnail details There

Best choice for improving ASP Performance (cont.)

(Author: Green Apple studio compiled) Summary of rules Now let's review the rules: * Avoid including adovbs.inc files and use constants in other ways. * When a single Recordset is used, the connection string is passed to the ActiveConnection

ASP FAQs and Answers (1)

1. How to minimize, Maximize, close windows Answer: 2. How to Still page cache Answer: HTM Web page or ASP Web page Response.expires=-1 Response.expiresabsolute=now ()-1 Response.cachecontrol= "No-cache" PHP Web page Header

ASP memory and speed optimization, the first part (English version)

Memory and Speed optimization with Asp-part I It is a all to familiar problem:optimizing the memory and speed of your Web sites. Maybe you have been, more than once a week, in the situation where your Web server stopped giving your any ASP page The

ASP displays all files in the directory and displays the file size

Set Fso=server.createobject ("Scripting.FileSystemObject")Set F = Fso.getfolder (SPP)Set FC = F.subfoldersI=1I2=1For each F in fc%> Folders .gif" width= height=10>If I2I2=i2+1ElseI2=1End IfNext function to process file size Sub Showspaceinfo (

ASP saves data to access database code

Database Connection Code Dbname= "Chatroom.mdb" Set Conn=server.createobject ("Adodb.connection") Connstr= "dbq=" +server.mappath (dbname) + ";d river={microsoft Access Driver (*.mdb)};" Conn.Open ConnStr %> HTML page code

Methods for processing database images in ASP

---- Active Server Pages (ASP) is the script compiling environment on the Server. You can use it to create dynamic Web Pages or generate powerful Web applications. ASP makes this work very simple. ASP pages are files that contain HTML tags, text,

Use SQL statements in ASP to operate databases

dsn

When using ASP to operate databases, many people use record sets, but I think it is better to use SQL statements, so I wrote this article, hoping to help you.'''''''''''''''''''''''''''''''''''''''' '''''''''''''''''''''''''''''The following

Use the ASP + DataGrid control to create the master View/details View (2)

Step6Page. cs:Namespace Samples {...Public class Step6Page: Page {// Update the selected author and reload the title corresponding to the selected content// GridProtected void LoadTitlesGrid (){UpdateSelection ();TitlesGrid. DataBind (); }//

SQL backup and recovery using asp

1. BackupSQL = "backup database name to disk = '" & Server. MapPath ("backup") & "&" backuptext. dat "&"'"Set cnn = Server. createobject ("adodb. connection ")Cnn. open "driver = {SQL Server}; Server = Server Name; uid = sa; pwd ="Cnn.exe cute SQLOn

Total Pages: 1800 1 .... 1082 1083 1084 1085 1086 .... 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.