belize has asked for the wisdom of the Perl Monks concerning the following question:
I am working on a CGI that allows me to update html pages on two different servers with the same information. I am trying to identify the "best" way to do this as the pages have different headers and footers and I only what to input the data into a form once.
I could use SSI within each page and call a CGI that would pull the same information from a remote file, but I am worried about the overhead a CGI would have each time the page is called and also the time required to pull a remote file.
I don't think SSI include can call a remote file.
What I would like is to have a CGI write the same .txt file to each server and then just call the local .txt file with SSI include from the respective servers.
Any ideas on the best approach to writing files to multiple remote servers and what are the security/coding dangers/problems to look out for?
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Best way to update and integrate remote files
by Aristotle (Chancellor) on Jan 23, 2003 at 22:32 UTC | |
Re: Best way to update and integrate remote files
by bronto (Priest) on Jan 24, 2003 at 09:18 UTC | |
Re: Best way to update and integrate remote files
by iguanodon (Priest) on Jan 24, 2003 at 03:13 UTC |
Back to
Seekers of Perl Wisdom