General discussion

Locked

How to open a txt file...

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

This conversation is currently closed to new comments.

7 total posts (Page 1 of 1)  
| Thread display: Collapse - | Expand +

All Comments

Collapse -

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

Collapse -

How to open a txt file...

by cuban_titanic In reply to How to open a txt file...

Ok, where is the Code?

Thanks, any way...

Collapse -

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
"<!--#include file = <% var1 + Var2 %> -->"
try it!

Collapse -

How to open a txt file...

by cuban_titanic In reply to How to open a txt file...

Poster rated this answer

Collapse -

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
"<!--#include file = <% var1 + Var2 %> -->"
try it!

Collapse -

How to open a txt file...

by cuban_titanic In reply to How to open a txt file...

Poster rated this answer

Collapse -

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

Back to Windows Forum
7 total posts (Page 1 of 1)  

Related Discussions

Related Forums