Reply to Re: Using the = in a string - newbie help, TIA

Your name:

Reply:


Posted by b00x on 07/13/06 03:29

Try using $_SERVER['REMOTE_ADDR'] rather than the global. Not sure if
this will help, but it could, and its good practise anyway ;)

Also, you could try using sprintf() to return your string. eg.

$content .= sprintf("REMOTE ADDR:
http://ws.arin.net/cgi-bin/whois.pl?queryinput=%s\n",
$_SERVER['REMOTE_ADDR']);

Another check could be to make sure PHP isn't doing something crazy
with your REMOTE_ADDR variable, and just echo that to make sure its
contents are accurate, and don't contain anything weird ;)


Hope this helps.

Regards,
Corey...

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация