Home>Network programming tutorial> ASP tutorial
All ASP tutorial ASP tutorial ASP.NET tutorial PHP tutorial JSP tutorial C#/CSHARP tutorial XML tutorial Ajax tutorial Perl tutorial Shell tutorial Visual Basic tutorial Delphi tutorial Mobile development tutorial C/C++ tutorial Java tutorial J2EE/J2ME Software engineering
ASP tutorial
  • asp determines whether there is dangerous code in the uploaded file

    asp determines whether there is dangerous code in the uploaded file

    Determine whether there is dangerous code in the uploaded file. Copy the code as follows: <%function CheckFileContent(FileName)dim ClientFile,ClientText,ClientContent,DangerString,DSArra
    2025-01-14
  • ASP calls the COM interface with parameter output

    ASP calls the COM interface with parameter output

    The calling code of asp com interface. Friends in need can refer to it. COM interface VC implementation, interface: [id(1), helpstring(method Test)] HRESULT Test([in] BSTR strInputA, [in] BSTR str
    2025-01-14
  • Hide ASP scripts that modify file time and file attributes

    Hide ASP scripts that modify file time and file attributes

    Aspshell hides and modifies the last modification time of a file. Therefore, when searching for Trojans in the future, you cannot simply judge based on the time. Copy the code as follows: <% The aspshell principle of hiding and modifying the last modif
    2025-01-14
  • ASP database connection code of Dongwang Forum

    ASP database connection code of Dongwang Forum

    The ASP program of Dongwang Forum has, to a certain extent, become the pinnacle of ASP. Masters copy the code as follows: <%@LANGUAGE=VBSCRIPT%><%option explicitdim startime,endtime,conn,strCon,dbstarti
    2025-01-13
  • RSS and XML aggregation function ASP code suitable for all websites

    RSS and XML aggregation function ASP code suitable for all websites

    Generating RSS and XML aggregation is mainly to facilitate subscription and let users quickly know the updates of your website. The following code in rss.asp format is saved as rss.asp. Copy the code as follows:<!--#include file=conn.asp--> <%strURL =
    2025-01-13
  • Implementation example of ASP MSSQL stored procedure

    Implementation example of ASP MSSQL stored procedure

    After many friends learn ASP, they only know a few basic commands such as SELECT, UPDATE, and DELETE. This greatly reduces the speed of the system when reading or storing data. The sql copy code is as follows: CREATE PROCEDURE Proname //Use CREATE
    2025-01-13
  • asp get and post data reception and filtering

    asp get and post data reception and filtering

    asp get and post data receiving filter functions, some codes copied for safety are as follows: <%--------Definition part------------------Dim XH_Post ,XH_Get,XH_In,XH_Inf,XH_Xh,XH_db,XH_dbstr
    2025-01-13
  • ASP quickly executes dynamic web pages

    ASP quickly executes dynamic web pages

    ASP can execute your dynamic web pages quickly, but you can also make them execute faster by compressing code and database connections. This is a detailed article on how to streamline code and ASP features to achieve the fastest execution speed. For an im
    2025-01-13
  • ASP code to implement this week's week time list

    ASP code to implement this week's week time list

    The principle is relatively simple, that is, use the date function to obtain the date, and then replace it with a fixed string array. Copy the code as follows: td=date() This time is to set the current date, mainly for the convenience of debugging. In act
    2025-01-13
  • asp database connection function code

    asp database connection function code

    Encapsulate the database connection code in a function and call this function when reading is required. The following is the SQL connection code: Copy the code as follows: Function Open_conn()dim Conn,Strconnset Conn=server.createobject(adodb.c
    2025-01-13
  • asp file reading and saving file function code

    asp file reading and saving file function code

    For those that do not use FSO under ASP, use the adodb.stream object to save and read files to avoid machines that have some virtual hosts that do not support FSO. *************************************Read file************ ***********
    2025-01-13
  • asp random string function

    asp random string function

    This method is good. It can generate a random string of lowercase characters and numbers. You can add some special characters and some uppercase letters, etc. ***************************************aspcalculate random numbers********* ********************
    2025-01-13
  • aspjpeg tutorial on adding watermarks and generating thumbnails

    aspjpeg tutorial on adding watermarks and generating thumbnails

    Add watermark function to pictures and create thumbnails for pictures 1. Add watermark function to pictures Dim JpegSet Jpeg = Server.CreateObject(Persits.Jpeg) Create object Jpeg.Open BlogPath & /upload/ & F
    2025-01-13
  • Determine the expiration time of the Session and use JavaScript to display the remaining seconds in real time

    Determine the expiration time of the Session and use JavaScript to display the remaining seconds in real time

    Determine the expiration time of Session - Use JavaScript to display the remaining seconds <%@LANGUAGE=VBSCRIPT CODEPAGE=936%><%session.timeout=1440 Unit (minute) 1440=24 hours The parameter cannot be greater than 24 hours
    2025-01-13
  • asp dynamically generates rss (cannot generate xml files) code

    asp dynamically generates rss (cannot generate xml files) code

    Add RSS reading function to your website. Save the following file as rss.asp and put it in the root directory of the website to modify a few parameters. Advantages of RSS 1. You can selectively browse the content that interests you and that is related to
    2025-01-13