xymon
+ Reply to Thread
Results 1 to 2 of 2

Thread: create your own whatismyip

  1. #1
    Join Date
    Jun 2006
    Posts
    459

    create your own whatismyip

    To start you will need a blank htm doc saved as .php

    In the body insert this for ip
    Code:
    <?php echo $_SERVER["REMOTE_ADDR"]; ?>
    Insert this for hostname address
    Code:
    <?php $hostname = gethostbyaddr($_SERVER['REMOTE_ADDR']); echo $hostname; ?>
    you can position and size by adding <font size="6"> <p align="center"> etc. in front of the code

    to see a preview of this go to [url]www.gay.com
    Last edited by ~~smart~fool~~; 10-05-2007 at 06:26 PM.
    7h* L**7*57 c4n7 h4ck m*!
    Proud to have quit playing ®µÑȧ©ÅÞË

    If you write like a semi-literate boob you will very likely be ignored.
    Writing like a l**t script kiddie hax0r is the absolute l**t*st way to write!
    L0L

  2. #2
    Join Date
    Sep 2006
    Posts
    32
    Pretty cool script. Good for people who are learning php.

+ Reply to Thread

Similar Threads

  1. how would i create a http server
    By dipman44 in forum Internet Privacy
    Replies: 6
    Last Post: 06-25-2015, 02:13 AM
  2. Create Your Own Prank
    By SyntaXmasteR in forum Programming
    Replies: 17
    Last Post: 11-02-2009, 06:32 AM
  3. Create Your First BOT
    By SyntaXmasteR in forum Tutorials
    Replies: 22
    Last Post: 04-20-2008, 06:11 PM
  4. How create polls?
    By idnedhelper in forum General discussion
    Replies: 2
    Last Post: 11-13-2007, 10:58 AM
  5. can Anyone Create a Php mailer?
    By ghost22 in forum Programming
    Replies: 0
    Last Post: 02-12-2007, 06:05 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts