ページ上のフォームがGETでページに送信された場合、[/url]データを見つけてください(データに危険な文字が含まれている場合、ブラウザは最初に16進文字に変換してから、それを変換し、そのようなスペースが%20に変換されます)。クエリストリング方法は、この環境変数から対応する値を取り出し、ヘキサデシマルに変換された文字を復元することです(宇宙に復元される%20など)。
If there is a text box with name username and a text box with name password on the form, when the form is submitted, such a URL string will be generated: http://www.xxxxx.com/xxxx.asp?username=nnnnnn&password=mmmmmm
request.querystring( "username")を使用して、文字列「nnnnn」が取得されます
request.querystring( "password")は「mmmmm」を取得します!
すべての要求データは、次の方法を使用して取得できます。
Response.write( "<p>"&xkey& "="&request.querystring(xkey)& "</p>")
次
次の方法を使用して、すべての環境変数をリストします。
foreachxkeyinrequest.servervariables
Response.write( "<p>"&xkey& "="&request.servervariables(xkey)& "</p>")
次のトップ