php - check if webpage comes from another webpage -
how check if redirected site. how check site came from? php preferable here.
what i'm trying code tos, , have come part of site. if come terms of service/agreement page, , accepted (i know how check that), page function normally, if not pop tos , they'll have accept then....
or should use $_session
variable?
thanks in advance guys.
you try looking $_server['http_referer']
. yes, using sessions check if agreed tos better choice (or client side cookies)
Comments
Post a Comment