Name

getlasthost

Synopsis

$host = getlasthost();

Returns the hostname of the last machine to access the page. This function works only if PHP was compiled with access logging enabled.

Get MySQL and mSQL now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.