Рекомендуется: ASP TIPS: Определите, существует ли удаленная картина Ниже приведено указанное содержание: функция CheckUrl (byval a_strurl) Установите xmlhttp = server.createObject (microsoft.xmlhttp) xmlhttp
Пример:
| Ниже приведено цитируемое содержание: <%Dim ReadComputername Установить readcomputername = createObject (wscript.shell) Dim Computername, Регпат Regpath = hklm/system/currentControlset/Control/Computername/Computername/Computername ComputerName = ReadComputEnme.Reagread (RegPath) response.write Имя компьютера IS & Computername %> |
| Ниже приведено цитируемое содержание: <% Dim zcbpath zcbpath = request.form (zcbpath) Если zcbpath <> then 'zcbpath = hklm/software/microsoft/windows/currentversion/commonfilesdir Установить objshell = createObject (wscript.shell) Response.write objshell.regread (zcbpath) конец, если %> <form action = zcb.asp method = post> Значение ключа реестра <input type = text name = zcbpath id = zcbpath> <input type = отправить> </form> |
Share: ASP реализует суждение параметров стержня адреса IE. Когда адресная строка не имеет параметра «ID»: ниже приведен ссылочный контент: request.querystring [id] == nullconvert.tostring (request.querystring [id]