1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

(Earn $5) How can I get the source for a page with a redirect?

Discussion in 'General Scripting Chat' started by edc, Apr 29, 2009.

  1. edc

    edc Regular Member

    Joined:
    Dec 9, 2007
    Messages:
    279
    Likes Received:
    85
    Location:
    Straight Outta LoCash
    How can I get the HTML source for a page with a redirect? There is a page that redirects to a specific page, and want to look at the source to simply gain some knowledge. When I read the stream programmatically, I get the redirected page. Is it possible that this is done in an .htaccess file, or some other way?

    Note that since I can't see the source, I don't know how it's done. The first person that posts a solution that works for me and enables me to read the source will get $5 in their PayPal.

    EDIT - I don't think that it is an .htaccess redirect, since I haev reason to believe that it is dropping a cookie.

    2ND EDIT - I already tried the 'view-source' directive in the browser address bar and it doesn't work.

    -e-
     
    Last edited: Apr 29, 2009
  2. edc

    edc Regular Member

    Joined:
    Dec 9, 2007
    Messages:
    279
    Likes Received:
    85
    Location:
    Straight Outta LoCash
    Ok - I solved it with HTTrack. It was just a refresh causing the redirect.

    -e-
     
  3. emperorniks

    emperorniks Registered Member

    Joined:
    Mar 9, 2009
    Messages:
    91
    Likes Received:
    6
    download save page as check code.