rendered paste body#My index.php file:<?php require("InternalWorkings/Serve.php"); ?><?php require("InternalWorkings/ip.php"); ?><?php require ("InternalWorkings/Counter.php"); ?><?php require("InternalWorkings/MenuA.php"); ?><?php require("pieces/Header.inc.xhtml"); ?><?php require("Images/SVGs/circuitbanner.svg"); ?><?php require("InternalWorkings/MenuB.php"); ?><?php require($include) ?><?php require("Pieces/Footer.inc.xhtml") ?>#my Counter.php file:<?phpFunction Counter() {$counter = "InternalWorkings/counter.txt";$count = file_get_contents($counter);$counted = fopen($counter, 'r+') ;if(isset($_COOKIE['CountedByBH5193']) == false){++$count;fwrite($counted, $count );setcookie("CountedByBH5193",TRUE ,time()+60*60*24);}echo $count ; }?>#My ip.php file:<?php$iplog = 'pieces/iplog.inc.xhtml';$ip = $_SERVER['REMOTE_ADDR'] . date (" l, F, o, H:i A ");setcookie("testcookie1", NULL,time()+60*60*24);if (isset($_COOKIES['testcookie1'])) {if (isset($_COOKIE['IPLoggedOnBH5193']) == False){if (is_writable($iplog)) { if (!$handle = fopen($iplog, 'a')) { exit; } if (fwrite($handle, "$ip \r\n <br/>\r\n <br/>\r\n") === FALSE) { exit; } fclose($handle); setcookie("IPLoggedOnBH5193", True, time()+60*60*24);}}} ?> #my footer.inc.xhtml file:<div class="footer"><br /><hr /><a href="http://jigsaw.w3.org/css-validator/"> <img style="border:0;width:88px;height:31px" src="http://jigsaw.w3.org/css-validator/images/vcss" alt="Valid CSS!" /> </a> <img src="Images/apache_pb22.png" alt="Powered by Apache 2.2" /><a id="Vdoc" href="http://validator.w3.org/check/referer" >Valid XHTML 1.1 plus MathML 2.0 plus SVG 1.1</a><span id="counter" ><?php Counter(); ?></span><br /><span id="notice">This website is my own with the domain provided free by <a href="http://www.no-ip.com/">No-IP</a> and being run on my home computer by way of apache servers.</span></div></body></html>