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 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 statistics file download code

Yesterday to help a friend wrote a simple, below I will be a step-by-step from the establishment of the database after the download and display statistics times bar. First, the database structure is as follows. Access database is used, there are

ASP Cookie Instance Tutorial

ASP Cookie Instance tutorial, the first time when someone else's website on the tips welcome you to visit this, the second visit will show welcome you back, this start do not understand, it is now known to be a cookie instance, Here's a code that

ASP AddHeader Method Example Tutorial

ASP AddHeader Method Instance Tutorial This addheader method adds a new HTTP header and value to the HTTP response. Note: Once the ASP addheader, it cannot be deleted. Note: In IIS 4.0, you must call this method before any output to

ASP Simple Declaration variables

1. Declaration of simple variables2. Declaration of an array variable3. Assignment of variables4. Scope and lifetime of variablesInstance:Example8.aspX=1Call setprocedurevariable ' calls the setprocedurevariable processResponse.Write X ' Displays

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

ASP URL encoding and URL anti-coding function

Response.Write UrlDecode ("http://www.111cn.net/")'================================================' Function name: UrlDecode' Function: URL decoding'================================================Function UrlDecode (ByVal urlcode)Dim

What is the best choice for improving ASP Performance (cont.)

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 property. * When multiple recordsets are used

Best choice for improving ASP Performance (cont.)

(Author: Green Apple studio compiled) Should you create a separate connection object when using a recordset? To answer this question correctly, you need to test the results in two different situations: the first is to perform a database processing

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 FAQs and Answers (3)

1. Picture Display control: Call Format: 2. Convert doc to HTML with ASP Doc2html.vbs '********************************************************** ' ' Call method: Doc2html c:doc2html c:doc2html ' Call method: Doc2html-s C:doc2htmla.doc c:doc2html '

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 FAQs and Answers (9)

1, open the implementation of the command [Format]:d Ocument.execcommand ("open") [description] This and VB and other programming design in the WebBrowser control of the command somewhat similar, we can also be pondering. [For example] add between :

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

Use the ASP + DataGrid control to create the master View/details view

IntroductionThe next release of Microsoft & reg; Visual Studio. NET includes the DataGrid Web control (as part of the Server control's Active Server Page + (ASP +) suite ).This control provides the HTML representation function based on the content

Total Pages: 1800 1 .... 936 937 938 939 940 .... 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.