User Profile

Collapse

Profile Sidebar

Collapse
mkf
mkf
Last Activity: Dec 2 '06, 02:27 PM
Joined: Dec 1 '06
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • mkf
    replied to Restrict access to php script
    in PHP
    Hi Ronald,

    If you load the address:

    www.mydomain.co m/PersonTryingToA ccessThisFolder/ip.php

    ...into a browser, the page that comes up says:

    "document.write ("Your IP address has been <font color='red'>tra cked and logged:</font> <b>xxx.xxx.xxx. xx</b>")"

    Which is the "document.write " portion of my PHP script, and I do not...
    See more | Go to post

    Leave a comment:


  • mkf
    started a topic Restrict access to php script
    in PHP

    Restrict access to php script

    Hi All,

    I have a simple php script:

    [PHP]
    Header("content-type: application/x-javascript");
    $serverIP=$_SER VER['REMOTE_ADDR'];
    echo "document.write (\"Your IP address has been <font color='red'>tra cked and logged:</font> <b>" . $serverIP . "</b>\")";
    [PHP]

    That is called via javascript, "script type="text/javascript"...
    See more | Go to post
No activity results to display
Show More
Working...