in reply to Re^4: Display contents from html file to a webpage.How?
in thread Display contents from html file to a webpage.How?

ramki067,

Continued wishes for a good day to you.

We're getting closer.

So your Perl script creates the HTML file and puts it someplace on the server. Excellent.

Your next step is to display that file on a web page.

I need a little bit more information so I can translate that into something I understand; these questions should help:

  1. What causes the Perl script to be run?
    • Is it like a CGI script that runs when a user hits a web page?
    • Is it run from a local computer but on an unscheduled, ad hoc basis?
    • Does it run on a schedule from some kind of cron or similar tool?
  2. Where does the HTML file need to end up?
    • Does it need to be moved from this server to another one?
    • Does it need to be copied to some other location on the server where the script ran?
    • Does it need to be displayed to the current user (sort of like a CGI response)?
  3. If the file is being posted to a different server, how would you get it there by hand?
    • NFS file copy?
    • Samba Share file copy?
    • FTP? SFTP?
    • HTTP POST?

Here's hoping that next round of messages we will start diving toward a solution.

Best Regards,
- Steve M.

  • Comment on Re^5: Display contents from html file to a webpage.How?

Replies are listed 'Best First'.
Re^6: Display contents from html file to a webpage.How?
by Anonymous Monk on Sep 05, 2013 at 16:04 UTC
    I think we're talking about a server that is running a wiki, which would have a textarea that expects freeform text (or HTML, in this case). This should usually be a simple HTTP POST operation; LWP::UserAgent ought to help there, but there are other options, too. (The other options may be easier to work with if OP is lacking knowledge on how the web works.)