Simple question with text files

Results 1 to 2 of 2

Thread: Simple question with text files

  1. #1
    D.Matthews Guest

    Default Simple question with text files

    Hi,<BR> how can I put the LAST LINE of a text file in a variable? The text file is located on the server where the ASP page is running.<BR>Thanks for your help guys...<BR>

  2. #2
    Join Date
    Dec 1969

    Default Simple answer you won't like...

    By reading all the lines, one by one, and throwing all away except the last one.<BR><BR>This is why DBs were invented. Maybe you should reconsider and use a DB, instead?<BR><BR>

Posting Permissions

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