Page 1 of 1

Php landing page thing

Posted: Mon Oct 04, 2010 8:33 am
by audioslave
hi all :)

here is what i want to do...

when a user enters this page in my site, i want the user to first see this page which will have a notice and a button to accept. when the user accepts, the page will forward the user to the original page he or she intended to go. and by the use of cookies or ip address, the page can identify if its a returning user and will he or she will not see that page if its the second time.

any help on how to do this? are there scripts available, if so what kind of page is this called. i don't know so i used the term 'landing page'

thanks :)

Re: Php landing page thing

Posted: Mon Oct 04, 2010 9:38 am
by social_experiment
For the landing page you would use a html form. Once the conditions are met on that page, write the information (cookies & ip) so that the user is identified for future visits and redirect the user. IP and cookies won't (always) guarantee that returning visitors are redirected because some ip's are dynamic and cookies are often removed or not enabled.