You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
45 lines
1.6 KiB
45 lines
1.6 KiB
<?php /* Projet learning 2019 */
|
|
|
|
ini_set('display_errors', 1);
|
|
error_reporting(~0);
|
|
|
|
|
|
include("head.php");
|
|
include("entete.php");
|
|
include("bdd.php");
|
|
|
|
?>
|
|
|
|
<!-- Corps de la page -->
|
|
<div class="content">
|
|
<div class="content-inside">
|
|
<h1> <strong>Sites référençant le site</strong> <?php echo $_GET["link"]; ?><h1>
|
|
<h3>testés par <strong>Robot Index</strong></h3>
|
|
|
|
|
|
<table class="tab-result">
|
|
<tbody>
|
|
<?php
|
|
|
|
//phpinfo();
|
|
$requete = $bdd -> prepare('
|
|
SELECT site_id FROM robot.LINK WHERE link = ?;
|
|
');
|
|
$requete->execute(array($_GET["link"]));
|
|
|
|
while ($donnes = $requete->fetch()){
|
|
echo '<tr><th><a style="color: #0C62A6;" id="sites-recents" href="site_info.php?url='.$donnes['site_id'].' ">' . parse_url($donnes['site_id'], PHP_URL_HOST). '</a></th></tr>';
|
|
}
|
|
// site_info.php?url=http://www.arngren.net
|
|
?>
|
|
</tbody>
|
|
</table>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
<?php include("pieddepage.php");
|
|
|
|
|