<?php
// ini_set("max_execution_time",9999);
set_time_limit(9999);
define("SERVERNAME","localhost");
define("USERNAME","root");
define("PASSWORD","");
require_once('Urls_From_tables.class.php');
// $searchFromDatabase=array("sensei");
$object=new Urls_From_tables(
// $searchFromDatabase
); //Enter no parameter to search from the entire database
echo'<pre>';
echo'<h2>var_dump($object->OnlyUrls());</h2>'; var_dump($object->OnlyUrls());
echo'<h2>var_dump($object->get_just_urls());</h2>'; var_dump($object->get_just_urls());
echo'<h2>var_dump($object->get_justTrue_Exturls());</h2>'; var_dump($object->get_justTrue_Exturls());
echo'<h2>var_dump($object->get_nlinks());</h2>'; var_dump($object->get_nlinks());
// echo'<h2> var_dump($object->getBrokens()); for all urls and http status in array</h2>'; var_dump($object->getBrokens());
// echo'<h2> var_dump($object->getBrokens(true)); for array of just brokens(probably) links</h2>'; var_dump($object->getBrokens(true));
echo'</pre>';
|