Event from another site?
Moderator: General Moderators
Event from another site?
Is it possible that if someone enters my site from another site that an event can occur? For example can I have any entry entered into my database if a user come to my site from a specific site?
Re: Event from another site?
We often think of visitors "entering" a web site, but what is really happening is that an HTTP request is received by the web server, in response to which the server may send a page back to the requestor or perform some other action. PHP can obtain data from every HTTP request and use that to log visitors or anything else. Here's a good discussion of obtaining the URL of the site from which a link has brought a visitor to your site:Zavin wrote:Is it possible that if someone enters my site from another site that an event can occur? For example can I have any entry entered into my database if a user come to my site from a specific site?
http://forums.digitalpoint.com/showthread.php?t=835