Path Info

Results 1 to 2 of 2

Thread: Path Info

  1. #1
    xtnkshun Guest

    Default Path Info

    I am trying to retrieve the directory of the each file on my site without get the full path info. For instance... if the file is /directory/folder/page.asp, I want to display "directory".<BR><BR>Any ideas?

  2. #2
    Join Date
    Dec 1969

    Default RE: Path Info

    Do you want it to show just directory, or /directory/folder? Not that it really matters. I would try to use mappath to get the path, and then use split and make the divisions at the "/", then go through the array and just don&#039;t display the last item (the filename).

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts