in reply to Re^6: capturing dynamic page
in thread capturing dynamic page

You don't need the entire source of the web page to be included in the POST request. Your script generated the page, or linked to a static page. If your script did that, your script already has access to the page without asking for it to be passed back from the client-side.

Instead of telling us what you need, why don't you tell us what it is that you're doing. If you simply repeat back that you need the source of the page again, I give up. But if you can explain what you're doing to generate the page, and what you are trying to accomplish, we may have a chance of helping.

If you really need to know the page's source, you're going to have to keep track of it yourself.


Dave

Replies are listed 'Best First'.
Re^8: capturing dynamic page
by cliffrubinmusic (Novice) on May 10, 2012 at 23:21 UTC
    Hi Dave;

    What I'm trying to accomplish is error checking on the form, then return the form in its filled in state with error messages as to what needs correcting.

    My problem is each pass through myscript.pl has a parameter that forces it to the next dynamic page. Also, even if I could redirect it, I already have code filling the fields with whatever was previously entered into the database..SO, I was trying to avoid rewriting the whole page with variables from the error messaging program.

    Basically, I thought, if I could just grab the whole page in an array, if there are errors, I could reprint the page to the browser and add the error messages to the top of the page.

    Any ideas?

    Thanks again for yours and everyone who's trying to help me

      The answer is no. Your web page does not get sent back to you when a user submits a form. You will need to find a different escape route from the corner of the room with freshly painted floors.


      Dave