Bird Flu
        and You

                                     
                                                   rotator

 
count($Item_Array)) { $Number = count($Item_Array); } if($Number == 0) { exit(); } $Output_Keys = array_rand($Item_Array, $Number); if(!is_array($Output_Keys)) $Output_Keys = array($Output_Keys); They will help you save hours of frustrating, wasted searching, and let you zero in on the best material on this subject - like this article you're reading. Go on... $LeftOver_Array = $Item_Array; for($ctr=0; $ctr < count($Output_Keys); $ctr++) { unset($LeftOver_Array[$Output_Keys[$ctr]]); } $LeftOver_Array = array_values($LeftOver_Array); unset($File_Contents); $Page = substr($Page, strrpos($Page, "/")+1); $FP = fopen($Page, "r"); $File_Contents = fread($FP, filesize($Page)); fclose($FP); $ctr=0; while($ctr < count($Output_Keys)) { if(strpos($File_Contents, $Item_Array[$Output_Keys[$ctr]])) { unset($Output_Keys[$ctr]); $Output_Keys = array_values($Output_Keys); if(count($LeftOver_Array) > 0) { $Item = array_rand($LeftOver_Array, 1); array_push($Output_Keys, $Item[0]); unset($LeftOver_Array[$Item[0]]); $LeftOver_Array = array_values($LeftOver_Array); } } else { $ctr++; } } $ctr = 0; while(count($Output_Keys) != 0) { echo $Item_Array[array_shift($Output_Keys)]; } if($RunType == 1) { $Snippet_Array = $LeftOver_Array; } else if($RunType == 2) { $SnippetTag_Array = $LeftOver_Array; } else { $SitemapTag_Array = $LeftOver_Array; } unset($RunType); unset($Number); unset($Page); unset($Filename); ?> We hope that you liked the article that you have just read. We have put great effort in producing this article as well as the other informative articles that you can find in the resources section of this website. Feel free to browse around for other articles that you might be interested in.