Forum Moderators: open

Message Too Old, No Replies

Asp Open file

asp,openfile,open,file

         

cipibs

2:01 pm on May 5, 2003 (gmt 0)

10+ Year Member



Hello,
Recently I (and some other people) needed to develop a new graphic solution for our pages. The solution is a complex one with lots of links and info. Only a small area of the page (in the center) nedds to be changed, when browsing other links.

The problem is that, when I want to make a small modification I have to update all the pages of the site.

My solution was to make only one page, let's say the index.asp, put some special comments that will tell me where to split the page, read the page into a variable(in asp), do the split function on the special comments and create a new page with the central information changed.

So for every other page I will create, I will open the index.asp file, read the code I need and generate the new page.

Limitations:
1.Because of the complexity I cannot use frames in the structure of the page.
2.I have to connect to a remote server (I upload pages using ftp) so I do not have direct access to it and I cannot use (my opinion) >> openfile "c:/inetpub/wwwroot/dir/index.html" <<
I wanted to use >> openfile "http://www.mysite/index.html" << but it does not work.

Any way this is the solution I came out with. The problem is that it does not work. Maybe some of you encountered this problem too and have different solution that might help me.

ziggystardust

2:26 pm on May 5, 2003 (gmt 0)

10+ Year Member



Just to see if I got this right. A normal...
<!--#Include file="myfile.html"-->

...is not what you're after?