PHP Classes

File: test.php

Recommend this page to a friend!
  Classes of MarPlo   Mini Traffic Site   test.php   Download  
File: test.php
Role: Auxiliary data
Content type: text/plain
Description: Test file with using the script in php file
Class: Mini Traffic Site
Record site accesses in a database using PDO
Author: By
Last change:
Date: 10 years ago
Size: 1,718 bytes


Class file image Download
<?php // Here it is included the file with the Mini-Traffic script include('minitrafic.php'); ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" ""> <html xmlns="" lang="en"> <head> <title>Test PHP Script - Mini-Traffic Site</title> <style type="text/css"> #traff{ position:relative; width:13em; margin-top:1em; background-color:#edeffe; border:2px solid #f8feff; text-align:left; padding:.15em .15em .15em .4em; box-shadow:.2em .22em .24em #a0a0ed; -webkit-box-shadow:.2em .22em .24em #a0a0ed; -moz-border-radius:.8em; -webkit-border-radius:.8em; -khtml-border-radius:.8em;border-radius:.8em; } #traff .traf{ position:relative; margin:4px 1px 2px 1px; font-weight:800; text-align:center; } #traff .traf sup, #f_sub sup{ font-weight:normal; font-style:italic; } #traff .su { text-decoration: underline; } #traff #dtnow { color:blue; } </style> </head> <body> <center><h2>Test Script Mini-Traffic Site</h2> Here it is added the code that gets and displays traffic data from "minitrafic.php". <div id="mintraff"> <?php // Here output the HTML code defined in $html_trafic variable , with traffic data echo $html_trafic; ?> </div> <div style="text-align:center;margin:88px auto 20px auto">Web Programming Courses for site building and Development: <a href="" title="Courses web development"></a><br/><br/> Cursuri online Jocuri si anime: <a href="" title="Cursuri Jocuri si anime"></a></div> <em>Have Good Life,<br /> Marius</em> </center> <br/><br/> </body> </html>