Recommended: How to use ASP to build a virtual FTP server ASP uses component or component-free upload technology to realize file upload function. Therefore, we can use ASP's component-free upload technology to establish a virtual FTP server on our own site, and like a real FTP server, it provides remote file management for multiple users, while each user can only operate his own. document. When the file is uploaded, ASP can
There is an Enumerator object under JScript that can traverse the collection. According to its documentation, the following program can be written to iterate through the entire Request.QueryString collection:
The code is as follows:var params = new Enumerator(Request.QueryString);
while (!params.atEnd()) {
Response.Write(params.item() + : + Request.QueryString(params.item()) + <br />);
params.moveNext();
}
The only drawback is that the Request object itself is not a collection, so the Request object cannot be traversed. The following line of code will report an error:
The code is as follows:var params = new Enumerator(Request);
Share: Use ASP+CSS to implement random backgrounds Random Background- When you enter this page, you randomly select an image from the specified image folder as the background display. The method introduced here is implemented using ASP+CSS. ASP--From ASP101 CSS The above code should be added to the header area and cannot be placed in the external CSS file.