General discussion

  • Creator
    Topic
  • #2093307

    How to open a txt file…

    Locked

    by cuban_titanic ·

    I need the html code necessary to have in a web page two field asking for for two differents strings. Then looking for and showing a txt file where the name is the sum of those two strings asked before. In case that the txt file does not exist I would need to notify that the file does not exist.

    Thanks,

    Frank J. Garcia

All Comments

  • Author
    Replies
    • #3870199

      How to open a txt file…

      by astute ·

      In reply to How to open a txt file…

      I donot think this can only be done with html, The best solution for me would be to write a Java Script which actually reads the two fields & concatnates them & then requests for a file , if the file is not found (404 error ) by configuring the web server , u can give a customised error message.

      Hope this helps

    • #3869700

      How to open a txt file…

      by rbresee ·

      In reply to How to open a txt file…

      I would write script to request both data points, append them and then write that into an include statement.
      example

      try it!

    • #3869699

      How to open a txt file…

      by rbresee ·

      In reply to How to open a txt file…

      I would write script to request both data points, append them and then write that into an include statement.
      example

      try it!

    • #3832580

      How to open a txt file…

      by cuban_titanic ·

      In reply to How to open a txt file…

      This question was closed by the author

Viewing 3 reply threads