Skip to main content

Thread: IP Tracker / Hostname / loggers embedded into HTML code?


hello,

interested know how make possible log ip address + hostname , provider, of persons opens index.html.

possible? php works, tried once site. in present case shoudl embedded html code

rather use php java. php nice, universal, know bit of it, , guess adapted challenge...

welcome

(1) first issue: ok if use:

test.php
code:
<?php $ip = $_server['remote_addr']; $pagina = $_server['request_uri']; $datum = date("d-m-y / h:i:s"); $invoegen = $datum . " - " . $ip . " - " . $pagina . "<br />"; $fopen = fopen("ips.html", "a"); fwrite($fopen, $invoegen); fclose($fopen); ?>
then works. displays ip address.
how hostname + provider internet url?


(2) second issue: how implement lines test.html page?

test.html
code:
<!doctype html public "-//w3c//dtd html 4.01 transitional//en"> <html><head>  hello <br>   <------- cannot put here content of test.php??? </head></html>


Forum The Ubuntu Forum Community Ubuntu Specialised Support Development & Programming Programming Talk IP Tracker / Hostname / loggers embedded into HTML code?


Ubuntu

Comments

Popular posts from this blog

How to change text Component easybook reloaded *newbee* - Joomla! Forum - community, help and support

After Effect warning: A problem occurred when processing OpenGL commands

Preconditions Failed. - Joomla! Forum - community, help and support