Welcome to the Cookbook

loading...

5.5.3 Obtaining Additional Client Information

There is no translation yet for this section. Please help out and translate this.. More information about translations

getClientIP()

Get the remote client IP address

getReferrer()

Returns the domain name from which the request originated

getAjaxVersion()

Gets Prototype version if call is Ajax, otherwise empty string. The Prototype library sets a special "Prototype version" HTTP header.