การคัดลอกรหัสมีดังนี้:
-
'ฟังก์ชั่น ID: 0016 [รับชื่อของผู้ดำเนินการ]
'ชื่อฟังก์ชั่น: gt_the_proname
'ฟังก์ชั่น: รับชื่อของผู้ดำเนินการ
'พารามิเตอร์:
'ค่าส่งคืน: ส่งคืนชื่อของผู้ดำเนินการ
-
functiongt_the_proname ()
dimfu_name, temp, tempsiz
temp = request.serverVariables ("path_info")
fu_name = split (temp, "/",-1,1)
tempsiz = ubound (fu_name)
gt_the_proname = fu_name (tempsiz)
endfunction