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...
User Profile
Collapse
-
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"...
No activity results to display
Show More
Leave a comment: