¾È±Ô °øºÎ¹æ

ACTIVE SERVER PAGE > URLDecode - ANSI - µðÄÚµù ÇÏÀÚ. URLDecode ÇÔ¼ö

µî·ÏÀÏ : 2017-07-04 18:12 Á¶È¸¼ö : 52,538

http://ankyu.entersoft.kr/default.asp?id=123&usr=ankyu



http%3A%2F%2Fankyu%2Eentersoft%2Ekr%2Fdefault%2Easp%3Fid%3D123%26usr%3Dankyu


Server.URLEncode ¸¦ ÅëÇÑ Encoding µÈ µ¥ÀÌÅ͸¦ ´Ù½Ã Decode ÇÏ°í ½ÍÀ» ¶§°¡ ÀÖ´Ù. ÀÌ·±°æ¿ì´Â IIS¿¡¼­ ÀÚµ¿À¸·Î º¯È¯ÇØ ÁÖÁö¸¸, ÇÔ¼ö¸¦ ¸¸µé¾î

º¸¾Ò´Ù.

¾Æ·¡´Â °á°úÀÌ´Ù.
http://ankyu.entersoft.kr/default.asp?id=123&usr=ankyu


¾Æ·¡´Â ÇÔ¼ö ¼Ò½º ÀÌ´Ù.
 
	Function URLDecode(sConvert)
		Dim aSplit
		Dim sOutput
		Dim I
	
		If IsNull(sConvert) Then
			URLDecode = ""
			Exit Function
		End If

		' convert all pluses to spaces
		sOutput = REPLACE(sConvert, "+", " ")

		' next convert %hexdigits to the character
		aSplit = Split(sOutput, "%")

		If IsArray(aSplit) Then
		sOutput = aSplit(0)
		
			For I = 0 to UBound(aSplit) - 1
				sOutput = sOutput & Chr("&H" & Left(aSplit(i + 1), 2)) & Right(aSplit(i + 1), Len(aSplit(i + 1)) - 2)
			Next
		End If

		URLDecode = sOutput
	End Function


 
¡Ø Ȥ½Ã µµ¿òÀÌ µÇ¼Ì´Ù¸é ´ñ±Û¿¡ ÇѸ¶µð ³²°ÜÁÖ¼¼¿ä!
ÀÛ¼ºÀÚ   ºñ¹Ð¹øÈ£
ÀÚµ¿±Û ¹æÁö     (ÀÚµ¿±Û ¹æÁö ±â´ÉÀÔ´Ï´Ù.)
³»¿ë   ´ñ±Û´Þ±â 
À̸ÞÀÏ ¹®ÀÇ : cak0280@nate.com  
Copyright 2000 By ENTERSOFT.KR All Rights Reserved.