Link from email newsletter to reveal hidden website content

Just wondering how to get around the problem of hiding website
content to a general visitor but allowing it from a back link from
an email.

I was thinking the email would have a link of mysite.com/page.php?hidden=show

Which could show the hidden content on the page only for the email recipient

You could put a ?code=1234Š67890 on the end of the url in the email,
which must be of a php page. The php can then check if a value is
given to ‘code’ and if it’s correct it can then read and send out the
hidden page segment from an external file - or not.

The name probably shouldn’t be ‘code’, but something more obscure,
and the number should be big-ish so people don’t bother trying to get
a meaning from it if they notice it. Even better if it’s in
hexadecimal. If emails are individualised then the number could be a
different multiple of some other big-ish number. The php would check
if the code is a multiple, do the division and you know who
responded. The included page segment should have a filename extension
that the web server won’t serve.

David


David Ledger - Freelance Unix Sysadmin in the UK.
HP-UX specialist of hpUG technical user group (www.hpug.org.uk)
email@hidden
www.ivdcs.co.uk


dynamo mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Thanks David,

The email url can’t be very complex the client who is setting the url by hand.

I see the issue is if the page changes would are being served via a GET URL for the same content (with slight change) then it’s a URL google would probably detect this.

So i think I need a way if hiding the URL from google.

David

On 7 Mar 2012, at 13:57, David Ledger wrote:

Just wondering how to get around the problem of hiding website content to a general visitor but allowing it from a back link from an email.

I was thinking the email would have a link of mysite.com/page.php?hidden=show

Which could show the hidden content on the page only for the email recipient

You could put a ?code=1234Š67890 on the end of the url in the email, which must be of a php page. The php can then check if a value is given to ‘code’ and if it’s correct it can then read and send out the hidden page segment from an external file - or not.

The name probably shouldn’t be ‘code’, but something more obscure, and the number should be big-ish so people don’t bother trying to get a meaning from it if they notice it. Even better if it’s in hexadecimal. If emails are individualised then the number could be a different multiple of some other big-ish number. The php would check if the code is a multiple, do the division and you know who responded. The included page segment should have a filename extension that the web server won’t serve.

David


David Ledger - Freelance Unix Sysadmin in the UK.
HP-UX specialist of hpUG technical user group (www.hpug.org.uk)
email@hidden
www.ivdcs.co.uk


dynamo mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options


dynamo mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options