General discussion

  • Creator
    Topic
  • #2092298

    HTML code…

    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
    • #3879347

      HTML code…

      by kevin.riggs ·

      In reply to HTML code…

      Frank,

      I’ll take a shot at what I think you want.

      First String: Second String:

      Thisshould allow you to send the complete string to the cgi engine or scripted page.

      • #3879287

        HTML code…

        by cuban_titanic ·

        In reply to HTML code…

        I tested this code and it does not work. Remember than the end of this is to open a txt file with the name given in those two string. In this case I’m not sure if the value passed by document.forms[0].str1 and str2 has cut the extra blank space thatcan be at the end of the string.
        Anyway, thank you…

    • #3871531

      HTML code…

      by zlatin zlatev ·

      In reply to HTML code…

      Well, in my humble opinion, if the file you want to search for is on the web server, this CANNOT be done with native HTML code (with ECMAScript/VBScript either).
      If ASP, JSP, CGI, PHP, ISAPI or some other is available for your web server, this can be done with it. Need more info in order to help you.
      Regards,
      The BIG RED FOX

    • #3832575

      HTML code…

      by cuban_titanic ·

      In reply to HTML code…

      This question was closed by the author

Viewing 2 reply threads