detect change of remote page

Ask a Question related to PHP Development, Design and Development.

  1. #1

    Default detect change of remote page

    hi everyone,

    i have some links on my site, i need to be absolutely sure that the
    html has not been modified, even one character. i would rather not
    rely on http headers, just the html (so it is not dependant on the
    webserver). should i make a database to actually mirror the page, and
    then check against my copy? any better ideas? :)

    thanks
    will taubin Guest

  2. Similar Questions and Discussions

    1. How to use event to detect the change of a arrayvariable?
      I have a main application that includes a lot of sub components. the main app mxml file import a public class that includes an array variable. Each...
    2. Detect current page using JS
      Hi all, I would've figured this out myself, but I'm stumped on this.... why doesnt this work? <script type="text/javascript">...
    3. Detect change to data in an ubound datagrid
      Hi Sorry if this is a bit obvious but I'm new to the datagrid ... :@) I have an unbound grid which contains a hidden column holding the primary...
    4. Detect leaving page
      Looking for a method to detect when the user presses the "Back" button and also Alt+> Thanks for any insight! Kevin
    5. Detect change in property within control
      Is it possble to have a property like so: <Bindable(True), Category("Appearance"), Description("The help image associated with this control."),...
  3. #2

    Default Re: detect change of remote page

    -----BEGIN PGP SIGNED MESSAGE-----
    Hash: SHA1

    I noticed that Message-ID:
    <aa5d813d.0311201518.212dda20@posting.google.com > from will taubin
    contained the following:
    >i have some links on my site, i need to be absolutely sure that the
    >html has not been modified, even one character. i would rather not
    >rely on http headers, just the html (so it is not dependant on the
    >webserver). should i make a database to actually mirror the page,
    >and then check against my copy? any better ideas? :)
    Don't know how you would do it, but a hash of the page may be
    sufficient? A bit like PGP sig?

    -----BEGIN PGP SIGNATURE-----
    Version: PGPfreeware 6.5.8 for non-commercial use <http://www.pgp.com>

    iQA/AwUBP71VCmUsPVsZRo4gEQK+cwCfUoGD8tF8SKmidE1E6mjRtO 0cJJ4An2Vd
    x0Gv5k/DriaFBcxM7563FePJ
    =2nYp
    -----END PGP SIGNATURE-----

    --
    Geoff Berrow (put thecat out to email)
    It's only Usenet, no one dies.
    My opinions, not the committee's, mine.
    Simple RFDs [url]http://www.ckdog.co.uk/rfdmaker/[/url]
    Geoff Berrow Guest

  4. #3

    Default Re: detect change of remote page

    will taubin:
    > hi everyone,
    >
    > i have some links on my site, i need to be absolutely sure that the
    > html has not been modified, even one character. i would rather not
    > rely on http headers, just the html (so it is not dependant on the
    > webserver). should i make a database to actually mirror the page, and
    > then check against my copy? any better ideas? :)
    Checksum the file, and store the checksum locally. Then you can verify the
    file against this checksum when you access it. md5() is ok for this
    purpose.

    André Nęss
    André Nęss Guest

  5. #4

    Default Re: detect change of remote page

    André Nęss <andrena.spamreallysucks@ifi.uio.no> wrote in message news:<bpjkk3$h8q$1@maud.ifi.uio.no>...
    > will taubin:
    >
    > > hi everyone,
    > >
    > > i have some links on my site, i need to be absolutely sure that the
    > > html has not been modified, even one character. i would rather not
    > > rely on http headers, just the html (so it is not dependant on the
    > > webserver). should i make a database to actually mirror the page, and
    > > then check against my copy? any better ideas? :)
    >
    > Checksum the file, and store the checksum locally. Then you can verify the
    > file against this checksum when you access it. md5() is ok for this
    > purpose.
    >
    > André Nęss
    thanks, but if i generate a checksum, then later download the file
    again to compare the checksums, will the timestamps affect the new
    checksum? or is it generated only based on the content of the file?
    will taubin Guest

  6. #5

    Default Re: detect change of remote page

    > Checksum the file, and store the checksum locally. Then you can verify the
    > file against this checksum when you access it. md5() is ok for this
    > purpose.
    >
    If you are using Windows, the Advanced CheckSum Verifier from
    [url]http://www.irnis.net[/url] is just for you :)
    Irnis Haliullin Guest

  7. #6

    Default Re: detect change of remote page

    will taubin:
    > André Nęss <andrena.spamreallysucks@ifi.uio.no> wrote in message
    > news:<bpjkk3$h8q$1@maud.ifi.uio.no>...
    >> will taubin:
    >>
    >> > hi everyone,
    >> >
    >> > i have some links on my site, i need to be absolutely sure that the
    >> > html has not been modified, even one character. i would rather not
    >> > rely on http headers, just the html (so it is not dependant on the
    >> > webserver). should i make a database to actually mirror the page, and
    >> > then check against my copy? any better ideas? :)
    >>
    >> Checksum the file, and store the checksum locally. Then you can verify
    >> the file against this checksum when you access it. md5() is ok for this
    >> purpose.
    >>
    >> André Nęss
    >
    > thanks, but if i generate a checksum, then later download the file
    > again to compare the checksums, will the timestamps affect the new
    > checksum? or is it generated only based on the content of the file?
    It's generated based on whatever you input, so as long as you only input the
    contents, and this doesn't change, you're ok.

    André Nęss


    André Nęss Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139