This site has been deprecated. Do not edit pages here. Please visit the new Pico Labs documentation.


Skip to end of metadata
Go to start of metadata

The Referer Library

The Referer library provides for access to information about the page referer.

The search_engine_referer Function

The referer:search_engine_referer function answers the question is referer a search engine?

The following is an example of referer:search_engine_referer.

The search_terms Function

The referer:search_terms returns the search terms if the referer was a search engine.

The following is an example of referer:search_terms.

The referer_domain Function

The referer:referer_domain function answers the question is the referer domain equal to <arg>?

The following is an example of referer:referer_domain.

The remote_referer Function

The referer:remote_referer answers the question did the user come to this page from another Web site? Note: only domain names are checked, not ports or protocols.

The following is an example of referer:remote_referer.

The local_referer Function

The referer:local_referer answers the question did the user come to this page from within the same Web site? Note: only domain names are checked, not ports or protocols.

The following is an example of referer:local_referer.



Labels: