PHP to load page at a specific location (anchor?) on PPV confirm

Hi there,

I am building a long landing page that will have protected content (using Pay Per View) deep into the content.

After the user purchases the protected content and comes back from Paypal, they are asked to confirm their payment with a PPV button.

When the page loads for this confirm step, I would like the page to load at the protected content location, rather requiring the user to scroll all the way down the page (which, I suspect, they won't realize they have to do to see their stuff).

My PHP skills are very limited. But it seems there would be some simple PHP code I could add to the page template (or via a hook) do to a check that if the url contains the string 'ppw_confirm', then load the page at html anchor #protected_content.

Thank you!