Jesse 0 Report post Posted April 5, 2006 (edited) I am running a Web Chat and need to get this to display the User IP to them, but this code isnt working. <PARAM NAME="welcomemessage" VALUE="<?php echo $_SERVER['REMOTE_SERVER'];" has been logged. Chat powered by GCN"> Any help would be extremly grateful. Thank you Notice from mayank: Inserted the code in CODES tag Edited April 5, 2006 by mayank (see edit history) Share this post Link to post Share on other sites
Albus Dumbledore 0 Report post Posted April 5, 2006 the link to the place would as well help everyone with this Share this post Link to post Share on other sites
Tyssen 0 Report post Posted April 5, 2006 I think you want $_SERVER['REMOTE_ADDR'] instead. Share this post Link to post Share on other sites
Hamtaro 0 Report post Posted April 5, 2006 Yes, you need to use $_SERVER['REMOTE_ADDR'] instead, and you forgot the ending ?> at the end. Your actual code should be: <PARAM NAME="welcomemessage" VALUE="<?php echo $_SERVER['REMOTE_ADDR']; ?> has been logged. Chat powered by GCN">That should give you what you're looking for (I hope, anyway). You also had an extra quote in that right after the semicolon (which I corrected in the code). Share this post Link to post Share on other sites