Hello i have a mp3 search engine wich i want to make a modification i think is easy. this is my actual code, <?php if ( !function_exists('file_put_contents') && !defined('FILE_APPEND') ) { function file_put_contents($n, $d, $flag = false) { $mode = ($flag == FILE_APPEND || strtoupper($flag) == 'FILE_APPEND') ? 'a' : 'w'; $f = @fopen($n, $mode); if ($f === false) { return 0; } else { if (is_array($d)) $d = implode($d); $bytes_written = fwrite($f, $d); fclose($f); return $bytes_written; } } } $fpp = "the-includes/search.txt"; $searchlog = "[keywords]:".urldecode(stripslashes(strip_tags($_GET[search])))."\n"; file_put_contents($fpp, $searchlog, FILE_APPEND); ?> PHP: what this do is to write on a .txt file each time that someone search for a song what he has searched for. what i want is that insted of adding this to a .txt file add it to a db so i can get like the most searched and that for example if a song is search many times it will be first on the ranking . I will pay 15 dolars by alert pay.
I can do it for you easily - email me @ if you still need someone. I will respond right away. Same email for MSN and GTalk