If you didnt see my other thread go find it , it has another tool , but this is one is a tad different.
http://com.webspacemania.com/stb/ ( download the second link )
Basically what it does it picks a random word from some text and makes link code for you in either html or bbcode for forums.
For example , lets say you were going to post a news article or any text on a forum or blog.
------
Worldwide fighting in mongolia has resulted in the deaths of numerous red eared camels, decimating the once thriving camel community.
------
what it does is randomly picks one word and makes a link out of it.
example
--------
Worldwide fighting in mongolia has resulted in the deaths of numerous red eared camel, decimating the once thriving camel community.
-------
The resulting link will point to a php page that is basically a search engine that you control. So even though i dont have an actual page for "camels" it will create a page on the fly and link to any html pages in the same directory containing that keyword
INSTRUCTIONS
first create a directory named "search" and save the following code as smokey.php
by default it will search files in the directory that the php file is in.
so the url to your php file should look like this
http://yoursite.com/search/smokey.php?stbs=
then copy and paste that url into the program i made and then write some text in the top portion and hit randomize,
http://com.webspacemania.com/stb/ ( download the second link )
Basically what it does it picks a random word from some text and makes link code for you in either html or bbcode for forums.
For example , lets say you were going to post a news article or any text on a forum or blog.
------
Worldwide fighting in mongolia has resulted in the deaths of numerous red eared camels, decimating the once thriving camel community.
------
what it does is randomly picks one word and makes a link out of it.
example
--------
Worldwide fighting in mongolia has resulted in the deaths of numerous red eared camel, decimating the once thriving camel community.
-------
The resulting link will point to a php page that is basically a search engine that you control. So even though i dont have an actual page for "camels" it will create a page on the fly and link to any html pages in the same directory containing that keyword
INSTRUCTIONS
first create a directory named "search" and save the following code as smokey.php
Code:
<html>
<head>
</head>
<html>
<body>
<center>
<br><h1>some title</h1><br><br>
</body>
</html>
<?php
echo "<table width=80%><tr><td><center><hr><hr><h2>Everything you wanted to know about <i>$stbs</i></h2><hr><hr><br><br>";
$counter=1;
$not_found=0;
$which_one="."; // use a "." to search in this directory, or type in the folder name
$link = "http://com.webspacemania.com/search/"; // this is your base url
$directory = opendir($which_one);
while($file = readdir( $directory)){$file_ar[] = $file;}
foreach( $file_ar as $file )
{
$type= strrchr($file,'.');
$name=$which_one;
$name.="/";
$name.=$file;
$file_name=fopen($name,"r");
$bleh ="";
if ($type=[b]=[/b]".php" || $type=[b]=[/b]".txt" || $type=[b]=[/b]".html")
{
while ((!feof($file_name)))
{
$bleh .= fgets($file_name , 20000);
}
$bleh = strtolower($bleh);
$bleh = stripslashes($bleh);
$bleh = str_replace("<br>"," ", $bleh);
$nim = explode (".", $name);
$nom = str_replace("/","", $nim[1]);
if (stristr($bleh,$stbs))
{
echo "$counter .) <a
href=$link".$name."><font size=6 color=red>$stbs</font></a> - $link".$name." - ";
$bingo = strstr($bleh, $stbs);
$bingo = explode (" ", $bingo);
echo "<b>$bingo[0]</b> ";
for ($x=1;$x<10;$x++)
echo strip_tags("$bingo[$x] ");
echo "<br><Br>";
$counter++;
$not_found=2;
echo "</center></td></tr></table>";
}
else{}
}
fclose($file_name);
}
if ($not_found=[b]=[/b]0)
{
echo "Sorry... $stbs was not found or there was an error!!!<Br>
<br>STB 2006<br>";
}
?>
so the url to your php file should look like this
http://yoursite.com/search/smokey.php?stbs=
then copy and paste that url into the program i made and then write some text in the top portion and hit randomize,



Comment