'--------------------------------------------------------------------------- ' ' FindExtraHeader() - Get the text from an "extra" header ' ' Given the extra header's name, return the stuff after the ":" ' or an empty string if not there. '--------------------------------------------------------------------------- Public Function FindExtraHeader(key As String) As String Dim i As Integer For i = 0 To (CGI_NumExtraHeaders - 1) If CGI_ExtraHeaders(i).key = key Then FindExtraHeader = Trim$(CGI_ExtraHeaders(i).value) Exit Function ' ** DONE ** End If Next i ' ' Not present, return empty string ' FindExtraHeader = "" End Function