Hi,
I have a site, say I display disclaimer in the index page. When my users agree to the disclaimer, the link takes them to Now gallery is a 4images installation - the good thing about 4images software is that they have a header template which is displayed on all their pages [ie., etc]
Now what I want to do is, I dont want my users to goto these[index.php,details.php etc] pages without accepting the disclaimer. I know that I need to check the referrer
and see that its starts with " If not, it should redirect them to Sounds simple, but I dont know how to do this in php [jsp is god
]
Can someone help me with this?
I have a site, say I display disclaimer in the index page. When my users agree to the disclaimer, the link takes them to Now gallery is a 4images installation - the good thing about 4images software is that they have a header template which is displayed on all their pages [ie., etc]
Now what I want to do is, I dont want my users to goto these[index.php,details.php etc] pages without accepting the disclaimer. I know that I need to check the referrer
and see that its starts with " If not, it should redirect them to Sounds simple, but I dont know how to do this in php [jsp is god
Can someone help me with this?