republican-creole
site Search:


 
    All Forums Hot Topics Gallery






how-to block ads


 
Search Topic:
Share Topic
Posting?
Post a:
Post a:
Links: ·How To Get Noticed ·Web Monks FAQ ·Webhosting FAQ ·Posting Code ·How To Post ·Webhosting forum
AuthorAll Replies


Gwellin
Premium
join:2004-05-31
Regina, SK
Reviews:
·Access Communica..

reply to Press2Esc

Re: Executing a (DOS) command from webpage.

There is nothing the system has to do beyond what it normally does to request the webpage. In other words, by contacting the server it learns the requesting computers public IP address, you simply need to output it. In a PHP file (on the server) you would use the following line of code:
<?php
  echo $_SERVER['REMOTE_ADDR'];
?>
 

--
Here to help all those in need, whenever I can.


Press2Esc

join:2005-07-03
SC

said by Gwellin:

In a PHP file (on the server) you would use the following line of code:
<?php
  echo $_SERVER['REMOTE_ADDR'];
?>
 

thanks GWellin, this is helpful.

Thursday, 31-May 02:54:56 Terms of Use & Privacy | feedback | contact | Hosting by nac.net - DSL,Hosting & Co-lo
over 12.5 years online © 1999-2012 dslreports.com.
Most commented news this week
Hot Topics