Discussion Locked

HTML code...

0 helpful
5 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

5 replies

by kevin.riggs

Frank,

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

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

by cuban_titanic

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...

by zlatin zlatev

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

This discussion is closed to new replies.