Welcome Guest, Not a member yet? Register   Sign In
Difference between $this->agent->agent_string and $this->input->user_agent()
#2

[eluser]InsiteFX[/eluser]
Code:
$this->agent->agent_string()

// Returns a string containing the full user agent string. Typically it will be something like this:
// Mozilla/5.0 (Macintosh; U; Intel Mac OS X; en-US; rv:1.8.0.4) Gecko/20060613 Camino/1.0.2

$this->input->user_agent()

// Returns the user agent (web browser) being used by the current user. Returns FALSE if it's not available.
echo $this->input->user_agent();

InsiteFX


Messages In This Thread
Difference between $this->agent->agent_string and $this->input->user_agent() - by El Forum - 03-03-2011, 08:27 AM



Theme © iAndrew 2016 - Forum software by © MyBB