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

Popular posts from this blog

linux - Does gcc have any options to add version info in ELF binary file? -

android - send complex objects as post php java -

charts - What graph/dashboard product is facebook using in Dashboard: PUE & WUE -