Asp files are files whose file names end in. Asp. Modify to any file of. Asp will be considered by the server as a common method to create asp files: 1. Choose dreamweaver and other editing software to create asp files directly; 2. Create a. txt file; Then change the suffix to. ASP/ASP. This is a common practice after proficiency. How to publish ASP website?
1, deploy asp source code, first look at what system your computer is, install iis server 2, package the source code to other disks, such as E disk, open the Internet Information Service (iis) Manager, right-click the website, create a new website, follow the steps to find the source code path, and assign local ip and port, such as 192.5438+068. Use special development tool dw to open asp page and debug it. Or directly enter the address in the browser: http:/192.168.1.55: 888/index.asp to browse. The following is the process of publishing asp locally.
How to use asp system?
How to use asp system;
1. Open IIS Manager by searching for programs and files.
2. In the window, find Directory Browse, right-click and select Browse.
3. In the home directory myWEB, create a folder getIP.
4. open the getIP folder, click the right mouse button in the blank space and select "new-> text document" to create the notepad file getIP.
5. Enter the code in the Notepad document.
6. Right-click the Notepad file and select Rename.
7. Change the file extension to "ASP" and click "Yes" in the pop-up dialog box.
8. Open a browser and open the notepad file getip in the address bar. AspURL, the browser window will display the IP address of the server;
9. If the ASP file is on a remote server, you can use the public IP of the server.
Detailed explanation of asp basic framework?
Asp is a server-side scripting environment, which can be used to create and run dynamic Web pages or web applications.
Asp can contain HTML tags, plain text, script commands and COM components.
With asp, you can add interactive content (such as online forms) to web pages, and you can also create web applications that use HTML pages as user interfaces.
Features of asp:
⑴ asp can break through some functional limitations of static web pages and realize dynamic web page technology;
⑵asp files are contained in files composed of HTML codes, which are easy to modify and test;
⑶ The asp interpreter on the server side will execute the asp program on the server side and send the results to the client browser in HTML format, so that all browsers can browse the web pages generated by asp normally;
⑷asp provides some built-in objects, which can make server-side scripts more powerful.
For example, you can get the information submitted by users through HTML forms from the web browser, process the information in the script, and then send the information to the web browser;
5. (5) ASP can use server-side ActiveX components to perform various tasks, such as accessing databases, sending emails or accessing file systems.
[6] Because the server sends the results of asp program execution back to the client browser in HTML format, users will not see the original program code written by asp, which can prevent the asp program code from being stolen.
(Convenient connection between ACCESS and SQL database;
Being developed requires rich experience, otherwise it will leave loopholes for hackers to carry out injection attacks.
Where is the ASP webpage executed?
ASP is the abbreviation of ActiveServerPage, which means "Dynamic Server Page".
ASP is an application developed by Microsoft, not a CGI script. It can interact with databases and other programs, and is a simple and convenient programming tool.
The web page file format of Asp is. ASP, now commonly used in various dynamic websites.
ASP is a server-side scripting environment, which can be used to create and run dynamic Web pages or web applications.
ASP web pages can contain HTML tags, plain text, script commands, com components and so on.
With ASP, you can add interactive content, such as online forms, to web pages, and you can also create web applications that use HTML pages as user interfaces.
Compared with HTML, ASP webpage has the following characteristics: (1) Using ASP can break through some functional limitations of static webpage and realize dynamic webpage technology; (2)ASP files are contained in files composed of HTML codes, which are easy to modify and test; (3) The ASP interpreter on the server will make ASP programs on the server and send the results to the client browser in HTML format, so that all browsers can browse the pages generated by ASP normally; (4)ASP provides some built-in objects, which can make server-side scripts more powerful.
For example, you can get the information submitted by users through HTML forms from the web browser, process the information in the script, and then send the information to the web browser; (5)ASP can use server-side ActiveX components to perform various tasks, such as accessing databases, discovering and accessing e-mails or file systems.
(6) Because the server sends the result of ASP program execution back to the client browser in HTML format, users will not see the original program code written by ASP, which can prevent the ASP program code from being stolen.
Sql query records to create ASP array?
script type = " text/JavaScript " & gt;
vararr 1 = new array();
%
SQL = " selectanswerfromsquestionwhere tixingid = 3 "
Setrs = server. CreateObject("adodb.recordset ")
rs.opensql,connbbs, 1, 1
"Ma Di ()" defines an array A.
Diml
l=0
WhileNotRs。 eof
% & gt
Arr 1=%=Rs ("answer")% & gt// Save new data.
%
Ruby's next step
line
Rs off
Setrs = none
% & gt
/script & gt;