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


abs

 $

url


->abs
([

base

, [

scheme

]])

Returns the absolute URL, given a base. If invoked with no parameters, any previous definition of the base is used. The second parameter is a Boolean that modifies abs 's behavior. When the second parameter is nonzero, abs will accept a relative URL with a scheme but no host, like "http:index.html".