Direkomendasikan: Tips ASP: Tentukan apakah ada gambar jarak jauh Berikut ini adalah konten yang direferensikan: Function checkUrl (byval a_strurl) set xmlhttp = server.createObject (microsoft.xmlhttp) xmlhttp
Contoh:
| Berikut ini adalah konten yang dikutip: <%RedkomputName Atur readComputName = createObject (wscript.shell) Dim Computername, Regpath RegPath = HKLM/Sistem/CurrentControlset/Control/Computername/Computername/Computername ComputerName = ReadComputName.Regread (RegPath) response.write nama komputer adalah & computername %> |
| Berikut ini adalah konten yang dikutip: <% Redup zcbpath zcbpath = request.form (zcbpath) Jika zcbpath <> lalu 'ZCBPATH = HKLM/Software/Microsoft/Windows/CurrentVersion/CommonFilesDir Set Objshell = CreateObject (wscript.shell) Response.write objshell.Regread (ZCBPath) akhiri jika %> <Form Action = ZCB.asp Metode = Post> Nilai Kunci Registri <Input Jenis = Nama Teks = ZCBPath ID = ZCBPath> <input type = Submit> </form> |
Bagikan: ASP mewujudkan penilaian parameter batang alamat IE Ketika bilah alamat tidak memiliki parameter "id": berikut ini adalah konten yang direferensikan: request.querystring [id] == nullConvert.toString (request.querystring [id]