Ultra-newbie and PHP extra-virgin here, with a grovelling apology if this is the wrong bit of the forum.
I'm building my new site in Dreamweaver, but I have a 'test' site up on Yola. The site is a pay-to-enter 'museum' and I'd like it to work like this...
Punter clicks on PayPal button, goes to Paypal and pays (a paltry sum).
Punter is taken to my 'Lobby' page from which he/she can access all the site's pages.
After a set time (say, 24 hours), the punter loses access to the site.
So here's what I'd like to have PHP do...
Paypal tells the site of the purchase.
I get a notification with the punter's info (e.g. who, where, when + mail address).
PHP uses the Paypal info to send a 'thanks for calling' e-mail.
Punter is taken to the Lobby page
He/she can swill about in the site but the timer's running, and blocks access after 24 hours.
This will become clear after a look at the test site. It's at www.dead-interesting.co.uk :crazy:
To get past the PayPal page for a look around, fill in the username value as 'admit' and the password as 'one'...(no quotes).
Just as an aside, I'm not a developer and so respond to the K.I.S.S. principle. I don't even know where PHP scripts go.
Be gentle with me :hush: