I need a short script that works ALL THE TIME to do the following:
Buyer comes from paypal after paying and is returned to a membership "choose user name and password" area on site.
I need the membership sign up page to detect when people come from paypal or redirect away. I do not want people to be able to go directly to the sign up URL without first having gone to pay pal and paid.
More work to follow successful implementation of this task.