"Please give us a simple answer, so that we don't have to think, because if we think, we might find answers that don't fit the way we want the world to be."
~ Terry Pratchett in Nation
Backlinks are incoming links to a website or web page. The number of backlinks is an indication of the popularity or importance of that website or page. In basic link terminology, a backlink is any link received by a web node (web page, directory, website, or top level domain) from another web node (Björneborn and Ingwersen, 2004). Backlinks are also called incoming links, inbound links, inlinks, and inward links.
Most pay-per-click systems have each participating site assigned a unique ID string, which that site must then include as a URL query string variable/value in links, e.g.:
Then in the PHP page, the $_GET['referer'] variable would have the value which you would use to query your database to see who the referer is and what discount should be creditied, etc.
"Please give us a simple answer, so that we don't have to think, because if we think, we might find answers that don't fit the way we want the world to be."
~ Terry Pratchett in Nation
Bookmarks