opening a .txt file in ASP 
Author Message
 opening a .txt file in ASP

Hi, how would i go about making a page reload itself when a user clicks on a
hyperlink, but instead of reloading itself fully, it replaces the "text"
section,which could be held in a .txt file in the root directory, with the
apprpriate .txt file (or .htm if nesecery) for the link.

IE same page loads every time, but with different text according to the link
clicked.

(hope this makes sense)

Steve



Wed, 14 Jul 2004 00:09:34 GMT  
 opening a .txt file in ASP
Use a form with radio buttons instead of links. The form action
would be the same page. Then at the beginning of the page
have the asp code that gets the post, uses FSO TextStream
object to read the correct file then use a response.write to
spit it out at the right place.

gl,
Bill Wallace


Quote:
> Hi, how would i go about making a page reload itself when a user clicks on
a
> hyperlink, but instead of reloading itself fully, it replaces the "text"
> section,which could be held in a .txt file in the root directory, with the
> apprpriate .txt file (or .htm if nesecery) for the link.

> IE same page loads every time, but with different text according to the
link
> clicked.

> (hope this makes sense)

> Steve



Thu, 15 Jul 2004 00:14:51 GMT  
 
 [ 2 post ] 

 Relevant Pages 

1. Test Message

2. Merging multiple .txt files into one .txt file

3. From ASP-file to TXT-file

4. Database in Pascal / Help!

5. coding help

6. How to open *.txt file

7. Open txt file in excel and have data in seperate columns

8. Open .txt file in Word and manipulate automatically

9. Open a txt files

10. Adding .TXT files to a VB program without the .TXT file

11. Question: Opening .txt file with vba

12. open txt file and read strings

 

 
Powered by phpBB® Forum Software