Originally posted by homici
View Post
[hot] New working MP3 Search engine that you have always wanted
Collapse
X
-
Originally posted by homici View PostThere are textarea with blank, I dont know what can I do, how to edit it, can you give me example ?
W3Schools offers free online tutorials, references and exercises in all the major languages of the web. Covering popular subjects like HTML, CSS, JavaScript, Python, SQL, Java, and many, many more.
It's better to keep your mouth shut and give the impression that you're stupid, than to open it and remove all doubt.
ⓣⓗⓔ ⓠⓤⓘⓔⓣⓔⓡ ⓨⓞⓤ ⓑⓔ©ⓞⓜⓔ, ⓣⓗⓔ ⓜⓞⓡⓔ ⓨⓞⓤ â“â“¡â“” â“ⓑⓛⓔ ⓣⓞ â“—â“”â“â“¡ !
ιη тнєσÑу, тнє ÏÑα¢тι¢є ιѕ α Ñєѕυℓт σƒ тнє тнєσÑу, вυт ιη ÏÑα¢тι¢є ιѕ тнє σÏÏσѕιтє.
Comment
-
Master help me please , how to solved this code if soundcloud no result ? thanks
Code:if($config['soundcloud']){ //require_once ROOT_DIR . '/libs/outer_api/soundcloud/Services/Soundcloud.php'; //$client = new Services_Soundcloud($config['soundcloud_api'], NULL); $start = ($page-1)*20; //$mp3_search = $client->get('tracks', array('q' => $keyword, 'license' => 'cc-by-sa')); $mp3_search = get_content("http://api.soundcloud.com/tracks/?client_id=e9bc5cfa694a55f70a5b1067a2722a2a&limit=20&q==" . $keyword); if ($mp3_search) { $mp3_search = simplexml_load_string($mp3_search); foreach ($mp3_search as $result) { $song_title = $result->{'title'}; $mp3_page_url = $result->{'uri'} . "/stream"; $mp3_page_url = $db->safesql($mp3_page_url); $hash = gen_uuid($mp3_page_url); $song['id'] = $hash; $song['source'] = 9; $song['mp3_url'] = $mp3_page_url; $song['play_url'] = play_url($song['id'], $song['source'], $song_title); $song['song_title'] = $song_title; if($song_title) $db->query("INSERT IGNORE INTO tan_cache SET hash='$hash', url='$mp3_page_url'"); if($song_title) $mp3s[] = $song; } } }
Comment
Comment