PHPee.com PHP development forum
Slow response times
Goto page Previous  1, 2
 
Post new topic   Reply to topic    phpee.com Forum Index -> PPhlogger Support
View previous topic :: View next topic  
Author Message
lionel
Moderator


Joined: 09 Dec 2003
Posts: 121
Location: Costa Blanca, Spain

PostPosted: Wed Nov 24, 2004 1:18 pm    Post subject: Reply with quote
Sim9, did you replace

Quote:

// $hostname = ($ip) ? ($ip) : '';
// $proxy_hostname = ($proxy_ip) ? ($proxy_ip) : '';
function gethost ($ip) { // linux only!
$host = `host $ip`;
return (($host ? end ( explode (' ', $host)) : $ip));
}
$hostname = ($ip) ? ($ip) : '';
$proxy_hostname = ($proxy_ip) ? ($proxy_ip) : '';


with

Quote:

// For Linux...

function gethost ($ip) {
$host = `host $ip`;
return (($host ? end ( explode (' ', $host)) : $ip));
}


Smile
Back to top
View user's profile Send private message Visit poster's website
Post new topic   Reply to topic    phpee.com Forum Index -> PPhlogger Support All times are GMT + 1 Hour
Goto page Previous  1, 2
Page 2 of 2

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB 2.0.11
Theme design based on Team 101 Designs, modified by Philip Iezzi