موصى به: نصائح ASP: حدد ما إذا كانت الصورة عن بعد موجودة فيما يلي المحتوى المشار إليه: Checkurl (byval a_strurl) set xmlhttp = server.createObject (microsoft.xmlhttp) xmlhttp
مثال:
| ما يلي هو المحتوى المقتبس: <٪ قاتمة القراءة تعيين readcluctername = createObject (wscript.shell) اسم الحاسوب الخافت ، regpath regpath = hklm/system/currentControlset/control/computername/computername/computername Computername = readclucputername.regread (RegPath) استجابة. اسم الكمبيوتر هو و Computername ٪> |
| ما يلي هو المحتوى المقتبس: <٪ قاتمة ZCBPTH ZCBPath = request.form (ZCBPATH) إذا كان ZCBPTH <> ثم 'ZCBPATH = HKLM/Software/Microsoft/Windows/CurrentVersion/CommonFilesDir تعيين ObjShell = CreateObject (wscript.shell) استجابة. write objshell.regread (ZCBPath) إنهاء إذا ٪> <form action = zcb.asp method = post> قيمة مفتاح التسجيل <إدخال نوع = اسم النص = zcbpath id = zcbpath> <نوع الإدخال = إرسال> </form> |
مشاركة: يدرك ASP حكم معلمات شريط العنوان IE عندما لا يحتوي شريط العناوين على المعلمة "معرف": ما يلي هو المحتوى المشار إليه: request.querystring [id] == nullConvert.ToString (request.querystring [id]