http://www.perlmonks.org?node_id=1052243

ramki067 has asked for the wisdom of the Perl Monks concerning the following question:

Hi, I've a html file which needs to be read and written on to a webpage which has authentication. How do i do it. Any pointers would be of great help. Thanks, Sharath
  • Comment on Display contents from html file to a webpage.How?

Replies are listed 'Best First'.
Re: Display contents from html file to a webpage.How?
by Random_Walk (Prior) on Sep 04, 2013 at 08:54 UTC

    With a web server.

    Seriously, your question is very poorly defined. It is not clear that this is even a Perl question.

    • Why is this a Perl question?
    • What web server/website software are you using?
    • Are you working on an existing Perl based site?
    • Are you running on the web server an just need to plonk it in htdocs, or do you need to ftp it?

    Cheers,
    R.

    Pereant, qui ante nos nostra dixerunt!
      Why is this a Perl question? Yes this is. What web server/website software are you using? don't know. Its a company maintained website. Are you working on an existing Perl based site? No. I've a html file stored at at a location, which keeps updating everyday and that needs to be displayed on a webpage. Are you running on the web server an just need to plonk it in htdocs, or do you need to ftp it? Well, i just need the contents of the html file which keeps on updating to be displayed on the webserver address.
        Hello ramki067,

        I hope your day is going well.

        First, please -- have mercy on us old folks. Please take the time to at least use <p> and <br> tags in your post so it doesn't read like one flowing mishmash of words.

        Second, please answer the question actually asked. We can only help you if you actually give us the information we need. For example:

        Q: Why is this a Perl question?
        A: Yes this is.

        You were asked why. You answered what.

        If you won't take the time to read our questions, we presume you also won't read our answers.

        This does not inspire us to take time to give you answers. And it does take time, so please don't dismiss this as unimportant. I've lost three hours this morning hanging out on Perlmonks. And I'm under a deadline at work, suggesting this was perhaps not the best use of my three hours.

        I'll stop now and let you and Corion have a go at this.

        I do you hope you find the answers you need. The Monastary can be an amazingly useful resource.

        Best wishes to you, and I hope you continue to have an excellent day.

        - Steve M.

        Maybe you want to download a web page and display it on your machine? See WWW::Mechanize that emulates a web browser, except in Perl.

        Otherwise, your question is still very unclear. Please describe what steps a human would need to take to produce the result you want.