My last coder has stopped contacting me, so I need some help and fast! $100 for the fixes! My mp3 search engine script has some bugs which need to be fixed: - Duplicate latest search results - Flash player not working in IE - More mp3 sources needed You can demo the script here: http://www.mp3venture.com/ Let me know if you have the skills to fix these bugs.
This seems to be a cure for duplicate entries showing in the latest search (latestsearch.php) : <?php $text = file_get_contents("include/search.txt",NULL); $text=strtolower($text); $text=explode('[keywords]:',$text); foreach ($text as &$value){$value=rtrim($value);} $out=array_count_values($text); arsort($out); $out=array_slice($out,0,40); $crotz=""; $out=array_keys($out); foreach ($out as $value) { $crotz .= '<a class="latest" href="'; $crotz .= "http://".$domain."/mp3-".urlencode($value).".html"; $crotz .= "\">".htmlspecialchars($value)."</a>"; $crotz .= " <b>››</b> "; } $crotz=str_replace(array('%0A','%3F',"\n"),'',$crotz); $crotz=substr($crotz,0,-2); echo"$crotz"; ?> Hope it helps