Discussion Locked

How to open a txt file...

0 helpful
7 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

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

7 replies

by astute

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

by rbresee

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

by rbresee

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

This discussion is closed to new replies.