% Dim strCurrentPageName strCurrentPageName = Right(Request.ServerVariables("SCRIPT_NAME"), Len(Request.ServerVariables("SCRIPT_NAME"))-1) Dim iCount, path, fso, filename, target iCount = 0 : path = "." Set fso = CreateObject("Scripting.FileSystemObject") filename = Server.MapPath(path + "/generator/show.asp") target=filename Do While fso.FileExists(filename) = False And iCount < 101 path = fso.GetParentFolderName(fso.GetParentFolderName(filename)) target = fso.GetParentFolderName(path) + "\generator\show.asp" filename = target iCount = iCount + 1 Loop If iCount = 100 then response.write "Sorry, we can not locate core functions. Program terminated" End If %>
|
|
3 Experienced Professionals and Native
Fishermen Ask For: Captains John, Dave or Mike
|
|
Copyright © 1997-2006. Matta Charter Fishing. All Rights Reserved. This material may not be reproduced in any form without permission. |