ONly show if referred by...

I have a form that you need to only be able to see if you were referred from another specific page (it’s the last part of a purchase transaction). Is there a way to do this in PHP?

Michelle, wife & homeschooling mommy to 4
The Mommy Database – #!/usr/bin/mom

anger makes dull men witty, but it keeps them poor.
– elizabeth i

Yes, I would look into using sessions for this.

or you could try the $HTTP_REFERER variable.

and a simple if
if ($_SESSION[“purchase”])
// show the form

but I think you know that already.

Sponsor our Newsletter | Privacy Policy | Terms of Service