$contents = file_get_contents('banner.txt');
$arr = split('~',$contents);
$numads = count($arr) - 1;
$ad1 = rand(0,$numads);
$ad2 = $ad1;
while ($ad1 == $ad2) {
$ad2 = rand(0,$numads);
}
echo '
';
echo '';
echo '' . $arr[$ad1] . ' | ';
echo '' . $arr[$ad2] . ' | ';
echo '
';
echo '
';
?>
|
#159142 - 04/10/17 11:49 AM
Solo Stove
|
Knife Enthusiast
Registered: 10/31/07
Posts: 7484
Loc: Garden Valley, Idaho
|
I don't have one of these yet, but between the Solo stove and the Walmart grease strainer pot, it will be on my new list for my bugout pack and for sure if I was still backpacking. https://www.youtube.com/watch?v=9QD1hIg2NvI&sns=emPap
_________________________
Mike Allen RKCC-CM-086 True West Magazine Maniac Randall Collector Behring Made Collector Ruana Collector Glock Fan NRA- Life Member since 1975 mikenlu99@aol.com
|
Top
|
|
|
|
|
|
|