Loading ...
Sorry, an error occurred while loading the content.

69File exists on include path

Expand Messages
  • John D. Leonard II
    Jan 18, 2002
    • 0 Attachment

      Any code for testing to see if a file exists along the Includes (and
      global) path?

      $Response->Include( $filename) and $Response->TrapInclude( $filename )
      automatically scan the path, but return an error if the file is not
      found. I want to trap this error.

      Is the solution $Server->MapPath, or perhaps to expose SearchDirs
      (inside ASP.pm)? How about something like:

      $Server->FileExists( $file_to_include_before_it_is_included );


      To unsubscribe, e-mail: asp-unsubscribe@...
      For additional commands, e-mail: asp-help@...
    • Show all 6 messages in this topic