home | O'Reilly's CD bookshelfs | FreeBSD | Linux | Cisco | Cisco Exam  


agent

 $

ua


->agent
([

string

])

When invoked with no arguments, this method returns the current value of the identifier used in the User-Agent HTTP header. If invoked with an argument, the User-Agent header will use string as its identifier in the future.