code from the Internet, and slightly modified some places, its practical is the cache class.
Save code for, for example, pic.asp
Use: Yun_qi_img/log.gif
Not only is 163, in fact, is a lot of anti-theft pictures can be this realization.
'
One technique: Improving the efficiency of using the request collection
Accessing an ASP collection to extract a value is a time-consuming process that takes up computational resources. Because this operation contains a series of searches for the
1, the simplest of the following
Dim objconn
Set objconn = Server.CreateObject ("ADOBD. Connection ")
objConn.Open application ("connection_string")
' Call the stored procedure to increment a counter on the page
objConn.Execute "Exec sp_addhit"
No
Copy Code code as follows:
Function Makegroup (Teams () as String) as String
' function function: Randomly grouping 32 teams in a teams array. (Note: Teams array subscript starting from 0)
' The variable definition of the function.
' It's
Here's the code:
Copy Code code as follows:
On Error Resume Next
Dim objXmlHttp, XML
Set XML = Server.CreateObject ("Microsoft.XMLHTTP")
Xml. Open "Get", "http://chanye.finance.sina.com.cn/yj/2005-01-05/236914.shtml", False
Xml. Send
In the ASP encryption method has the corresponding decryption method is not much, and now according to the predecessor data in the ASP encryption and decryption function
Rsa.asp
REM Encryption and decryption in ASP, encryption method: according to
Using Database statements
1.select statement: The command database engine returns information from the database as a set of records.
2.insert into statement: Add one or more records to a table.
3.update statement: Create an update query to change
Ajax+asp and flash+asp data access methods
Two methods of data access are similar.
===============================
Here is a chatroom Ajax part of the code:
var ajaxhttprequest = false;
function Ajaxinit () {
if (window. XMLHttpRequest) {//mozilla,
1. It is not recommended to support ASP.net on the server where the host is installed because ASP.net has a large number of unknown security issues.
2. If a user needs to write a file or directory using ASP.net, the following permissions need to
Excel is a software in Microsoft's Office suite that is used primarily for working with spreadsheets. Excel is friendly to the interface, the processing data quickly and so on the advantage obtains the general office staff's welcome. So a lot of
Recently suddenly need to use to get the file physical path, look for the next, this is good
asp.net (C #) in practical applications, it is often necessary to convert virtual paths to actual paths. The MapPath method of the Request object can
Do you find that your site is refreshed again when there are garbled? Okay, here's what we can say about the solution ... First of all, the first question, the problem is just beginning to let oneself baffled ah, the problem of the headache but
1. Balance Group/Recursive match (?' Group ') will be named group corresponding to the content, stack count;(?' -group ') will be named group of the corresponding content, out stack count(?!) 0 wide Negative lookahead assertion, because there is no
Preparatory work:
Find NuGet in the VS tool bar
Download DotNetZip
Now you can use the DotNetZip powerful class library, where I give some simple use.
Public ActionResult Export ()
{
using (zipfile zip = new ZipFile
Copy Code code as follows:
Set Rs=server.createobject ("Adodb.recordset")
exce= "SQL" SQL query statement
Rs.Open exce,conn,1,1
%>
The paging property is then set
Rs. Pagesize=3 ' Set page number
Pagecount=rs. PageCount ' Get total page
If you can understand my following words well, then none of this is a problem.
ASP is a server-side language, its role is to dynamically generate the client browser can recognize the HTML CSS JavaScript, etc. ...
So how does the ASP pass the value
Source:
Copy Code code as follows:
' Aspshell to hide and modify the last modification time of a file
' Principle: Through the FSO can modify the properties of the file, such as set to read-only, hidden, system and so on; Attributes
A lot of netizens ask, deep learning website navigation and depth learning the whole station system background management can add bulk deletion function, how to add:is to list n articles or Web site information, each article or URL before a check
'******************************
' Function: Checkchinese (STRNG)
' Parameters: Strng, to be authenticated characters
' Description: Detect if Chinese character, return value: true, or false
' Example:
'******************************
Function
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