FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » Imported messages » comp.lang.php » Old version trouble with $_SERVER variables?
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: Old version trouble with $_SERVER variables? [message #179827 is a reply to message #179825] Mon, 10 December 2012 20:55 Go to previous messageGo to previous message
M. Strobel is currently offline  M. Strobel
Messages: 386
Registered: December 2011
Karma:
Senior Member
Am 10.12.2012 20:05, schrieb C:
> What is causing the $host, $realhost and $referer variables to be
> blank?
>
> <?php
>
> global $host;
>
> $date = date("F jS Y, h:iA");
>
> $host=@gethostbyaddr($_SERVER['REMOTE_ADDR']);

You should not suppress error messages when you are trying to find an error.

/Str.
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Simple expression parser for PHP.
Next Topic: test,ignore
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Wed Nov 27 09:55:19 GMT 2024

Total time taken to generate the page: 0.04306 seconds