MP3 and Lyrics search and download script for mobile? Cant find em.

Started on the old forum in July 2009 · view the original in the archive · old links redirect here

36 replies · 3,516 views · started 17 years ago · 1 min read

TL;DR · summary of 36 replies
  • - The fix was provided in a modified version of a Lyric search script, which could be used as a starting point for an MP3 search engine.
  • - A user shared a working MP3 search script from 4shared (xtmobi.com/mp3) and another user suggested downloading and editing the tankamusik.com script posted by pimpin.
  • - The discussion concluded with users expressing interest in purchasing or modifying scripts, but no specific code approach was provided.

Written automatically from the replies by a language model on our own server. It can be wrong; the posts below are the source.

15 participants
koizumi Developer · 81 posts #1

ive seen mobile sites with an mp3 and lyrics search engine. Mostly they are a clone of hotscript MP3 Search.. ive search the forum but can find one. Anyone care to share?

blackhowk Senior · 411 posts #2

Whay you dont create your own site?

Create a database with - id , name of mp3 rows. Insert into database : id (autoincrement) and mp3 names. Create a directory for mp3's.

Create script for search.

Use for search some part of this:

$query = "select NameOfMp from mp3 WHERE NameOfMp='$search'";

$result = mysql_db_query("mp3", $query);

Show the result:

echo "Display NameOfMp ";


wap2k Developer · 168 posts #3

lol i once did lyrics script and mp3 for skywalker not sure if thoses scripts are still anywhere though

koizumi Developer · 81 posts #4

lol @ blackhawk.. create a script like than,and ul be uploading mp3's for the rest of ur life.. whereas, if u have a search engine that fetch trough popular site, u can just seat back and enjoy.. btw, i have it.. i fixed sum mp3 search engine script.. ang its working fine..

kiss Senior · 294 posts #5

Here are some useful mp3 search sites: wapmy.ru/musicsearch spaces.ru/music wap4u.ru/mp3search mymp3.name/musicsearch azon.mobi/mp3 matched.ru/mp3 ...and you find 90% any song 😉

www.inbuzunar.mobi -Your mobile portal pocket

archer Developer · 83 posts #6

kiss we are looking 4 mp3 script here not those site lol any1 wud share?

WAPMASTER ADD YOUR SITE AT TOPBEST AND GET 1000 UNIQUE VISIT PER DAY

archer Developer · 83 posts #7

Mean mp3 search script lol

WAPMASTER ADD YOUR SITE AT TOPBEST AND GET 1000 UNIQUE VISIT PER DAY

sky2kv Junior · 30 posts #9

heres a Lyric search script,extracted from my old site,coded by wap2k

<? header("Content-Type: text/vnd.wap.wml"); echo"<?xml version=\"1.0\" encoding=\"UTF-8\"?>";

echo "\n<!DOCTYPE wml PUBLIC \"-//WAPFORUM//DTD WML 1.1//EN\"\n\"http://www.wapforum.org/DTD/wml_1.1.xml\">\n<wml>\n"; print "<card id="card1" title="Lyric Search@wapwarz.skycity.co.za">"; print " ";

$sid = $_REQUEST["sid"];

function myhtmlentities($myents){ $myents = str_replace("&","&",$myents); return $myents; }

function get_string_between($string, $start, $end){ $string = " ".$string; $ini = strpos($string,$start); if ($ini == 0) return ""; $ini += strlen($start);
$len = strpos($string,$end,$ini) - $ini; return substr($string,$ini,$len); }

function extract_URLs($s) { $res = array(); preg_match_all('@(<a .</a>)@Uis', $s, $a); foreach ($a[1] as $x) { $gtpos = strpos($x, '>'); $y = substr($x, 0, $gtpos); if ($hrefpos = strpos($x, 'href=')) { $z = substr($y, $hrefpos+5); $z = preg_replace('/^(\S+)\s.$/U', '$1', $z); if ($z[0] == '"' && substr($z, -1) == '"') $z = substr($z, 1, -1); if ($z[0] == "'" && substr($z, -1) == "'") $z = substr($z, 1, -1); $res[] = array(substr($x, $gtpos+1, -4), $z); } } unset($a); return $res; }

$wapsidemode = $_REQUEST["ws"];

if(empty($wapsidemode)){ print "Browse Artists: "; print '<select name="letter" multiple="false">

<option value="0">0-9</option> <option value="a">A</option> <option value="b">B</option> <option value="c">C</option> <option value="d">D</option> <option value="e">E</option> <option value="f">F</option> <option value="g">G</option> <option value="h">H</option> <option value="i">I</option> <option value="j">J</option> <option value="k">K</option> <option value="l">L</option> <option value="n">M</option> <option value="n">N</option> <option value="o">O</option> <option value="p">P</option> <option value="q">Q</option> <option value="r">R</option> <option value="s">S</option> <option value="t">T</option> <option value="u">U</option> <option value="v">V</option> <option value="w">W</option> <option value="x">X</option> <option value="y">Y</option> <option value="z">Z</option> </select> ';

print "<anchor>[-Go-] <go href="lyrics.php" method="get"> <postfield name="letter" value="$(letter)"/> <postfield name="ws" value="letter"/> <postfield name="sid" value="$sid"/> </go> </anchor>"; }

$letit = $_REQUEST["letter"]; if($wapsidemode=="letter"){ $a = file_get_contents('http://www.lyricsdownload.com/'.$letit.'-full_list.html'); $a = get_string_between($a,"<ul imagesrc="http://www.lyricsdownload.com/images/arrow_r.gif" style="margin-left: 20">","</ul>"); $a = str_replace("<li><a class="txt_1"","<a ",$a); $a = str_replace("</a>","</a> ",$a); $a = str_replace("</li>","",$a); $a = str_replace("<ul imagesrc="http://www.lyricsdownload.com/images/arrow_r.gif" style="margin-left: 20">","",$a); $a = str_replace("</ul>","</a> ",$a); $a = str_replace("&","&",$a); $links = extract_URLs($a); $list= ""; foreach ($links as $v) { $list .= "<a href="lyrics.php?s=".myhtmlentities($v[1])."&ws=singer&sid=".$sid."">".myhtmlentities($v[0])."</a> "; } $fulllist = explode(" ",$list); $page = $_REQUEST["page"]; print "Lyrics "; print ($page - 10)." / ".$page." of "; print count($fulllist)."

"; for ($i = $page-1; $i < $page+10; $i++) { print $fulllist[$i]." "; } $ppage = $page - 10; $npage = $page + 10; print "------ "; print "<a href="lyrics.php?letter=".$letit."&page=$npage&ws=".$ws."&sid=".$sid."">more...</a> "; print "<a href="lyrics.php?letter=".$letit."&page=$ppage&ws=".$ws."&sid=".$sid."">back...</a> "; print "<a href="lyrics.php?sid=".$sid."">Lyrics Index</a>"; } $singer = $_REQUEST["s"]; if($wapsidemode=="singer"){ $sa = file_get_contents('http://www.lyricsdownload.com/'.$singer.''); $sa = str_replace("<ul imagesrc="http://www.lyricsdownload.com/images/arrow_r.gif" style="margin-left: 20">","<ul imagesrc="arrow_r.gif">",$sa); $sa = str_replace("<ul imagesrc="http://www.lyricsdownload.com/images/arrow_r.gif" style="margin-left: 5">","<ul imagesrc="arrow_r.gif">",$sa); $sa = get_string_between($sa,"<ul imagesrc="arrow_r.gif">","</ul>"); $links = extract_URLs($sa); $list= ""; foreach ($links as $v) { $list .= "<a href="lyrics.php?song=".myhtmlentities($v[1])."&ws=viewlyrics&sid=".$sid."">".myhtmlentities($v[0])."</a> "; } $fulllist = explode(" ",$list); $page = $_REQUEST["page"]; print "Lyrics "; print ($page - 10)." / ".$page." of "; print count($fulllist)."

"; for ($i = $page-1; $i < $page+10; $i++) { print $fulllist[$i]." "; } $firstletter = substr($s, 0, 1); $ppage = $page - 10; $npage = $page + 10; print "------ "; print "<a href="lyrics.php?ws=".$ws."&s=".$s."&page=$npage&sid=".$sid."">more...</a> "; print "<a href="lyrics.php?ws=".$ws."&s=".$s."&page=$npage&sid=".$sid."">back...</a> "; print "<a href="lyrics.php?ws=".$ws."&letter=".$firstletter."&sid=".$sid."">Back to [".$firstletter."]</a> "; print "<a href="lyrics.php?sid=".$sid."">Lyrics Index</a>"; } $song = $_REQUEST["song"]; if($wapsidemode=="viewlyrics"){ $saaa = file_get_contents('http://www.lyricsdownload.com/'.$song.''); $saaa = str_replace("\n", "", $saaa); $saaa = str_replace("\t", "", $saaa); $saaa = get_string_between($saaa,"",""); $saaa = str_replace("

"," ",$saaa); $saaa = str_replace("","",$saaa); $saaa = str_replace("","",$saaa); $saaa = str_replace("&","&",$saaa); echo $saaa; $firstletter = substr($song, 0, 1); print "

<anchor>Back to singer<prev/></anchor> "; print "<a href="lyrics.php?ws=letter&letter=".$firstletter."&sid=".$sid."">Back to [".$firstletter."]</a> "; print "<a href="lyrics.php?sid=".$sid."">Lyrics Index</a>"; } ?>

«Back to Fun Menu

External image (may be gone)Home

</card> </wml>
sky2kv Junior · 30 posts #10

you guys maybe need to recode theses both scripts,to suit your sites..👍

wap2k Developer · 168 posts #11

Here is my lyrsic script fixed up.......

<?php
header("Content-Type: text/vnd.wap.wml");
echo"<?xml version=\"1.0\" encoding=\"UTF-8\"?>";
echo "\n<!DOCTYPE wml PUBLIC \"-//WAPFORUM//DTD WML 1.1//EN\"\n\"http://www.wapforum.org/DTD/wml_1.1.xml\">\n<wml>\n";
print "<card id=\"card1\" title=\"Lyric\">";
print "<p>";

$ws    = trim($_REQUEST["ws"]);
$letit = trim($_REQUEST["letter"]);
$wapsidemode = trim($_REQUEST["ws"]);
$page = $_REQUEST["page"];

function myhtmlentities($myents){
$myents = str_replace("&","&",$myents);
return $myents;
}

function get_string_between($string, $start, $end){
$string = " ".$string;
$ini = strpos($string,$start);
if ($ini == 0) return "";
$ini += strlen($start);
$len = strpos($string,$end,$ini) - $ini;
return substr($string,$ini,$len);
}

function extract_URLs($s) {
$res = array();
preg_match_all('@(<a .*</a>)@Uis', $s, $a);
foreach ($a[1] as $x) {
$gtpos = strpos($x, '>');
$y = substr($x, 0, $gtpos);
if ($hrefpos = strpos($x, 'href=')) {
$z = substr($y, $hrefpos+5);
$z = preg_replace('/^(\S+)\s.*$/U', '$1', $z);
if ($z[0] == '"' && substr($z, -1) == '"') $z = substr($z, 1, -1);
if ($z[0] == "'" && substr($z, -1) == "'") $z = substr($z, 1, -1);
$res[] = array(substr($x, $gtpos+1, -4), $z);
}
}
unset($a);
return $res;
}

if(empty($wapsidemode)){
print "<b>Browse Artists:</b><br/>";
print '<select name="letter" multiple="false">
<option value="0">0-9</option>
<option value="a">A</option>
<option value="b">B</option>
<option value="c">C</option>
<option value="d">D</option>
<option value="e">E</option>
<option value="f">F</option>
<option value="g">G</option>
<option value="h">H</option>
<option value="i">I</option>
<option value="j">J</option>
<option value="k">K</option>
<option value="l">L</option>
<option value="n">M</option>
<option value="n">N</option>
<option value="o">O</option>
<option value="p">P</option>
<option value="q">Q</option>
<option value="r">R</option>
<option value="s">S</option>
<option value="t">T</option>
<option value="u">U</option>
<option value="v">V</option>
<option value="w">W</option>
<option value="x">X</option>
<option value="y">Y</option>
<option value="z">Z</option>
</select><br/>';

print "<anchor>[-Go-]
<go href=\"lyrics.php\" method=\"get\">
<postfield name=\"letter\" value=\"$(letter)\"/>
<postfield name=\"ws\" value=\"letter\"/>
</go>
</anchor>";
}

if($wapsidemode=="letter"){
$a = file_get_contents('http://www.lyricsdownload.com/'.$letit.'-full_list.html');
$a = get_string_between($a,"<ul imagesrc=\"http://www.lyricsdownload.com/images/arrow_r.gif\" style=\"margin-left: 20\">","</ul>");
$a = str_replace("<li><a class=\"txt_1\"","<a ",$a);
$a = str_replace("</a>","</a><br/>",$a);
$a = str_replace("</li>","",$a);
$a = str_replace("<ul imagesrc=\"http://www.lyricsdownload.com/images/arrow_r.gif\" style=\"margin-left: 20\">","",$a);
$a = str_replace("</ul>","</a><br/>",$a);
$a = str_replace("&","&",$a);
$links = extract_URLs($a);
$list= "";
foreach ($links as $v) {
$list .= "<a href=\"lyrics.php?s=".myhtmlentities($v[1])."&ws=singer&sid=".$sid."\">".myhtmlentities($v[0])."</a><br/>";
}
$fulllist = explode("<br/>",$list);
print "Lyrics<br/>";
print "Page:".($page-10)." / ".$page."";
print count($fulllist)."<br/>******<br/>";
for ($i = $page-1; $i < $page+10; $i++) {
print $fulllist[$i]."<br/>";
}
print "------<br/>";
print "<a href=\"lyrics.php?letter=".$letit."&page=".($page + 1)."&ws=".$ws."&sid=".$sid."\">more...</a><br/>";
print "<a href=\"lyrics.php?letter=".$letit."&page=".($page - 1)."&ws=".$ws."&sid=".$sid."\">back...</a><br/>";
print "<a href=\"lyrics.php?sid=".$sid."\">Lyrics Index</a>";
}
$singer = $_REQUEST["s"];
if($wapsidemode=="singer"){
$sa = file_get_contents('http://www.lyricsdownload.com/'.$singer.'');
$sa = str_replace("<ul imagesrc=\"http://www.lyricsdownload.com/images/arrow_r.gif\" style=\"margin-left: 20\">","<ul imagesrc=\"arrow_r.gif\">",$sa);
$sa = str_replace("<ul imagesrc=\"http://www.lyricsdownload.com/images/arrow_r.gif\" style=\"margin-left: 5\">","<ul imagesrc=\"arrow_r.gif\">",$sa);
$sa = get_string_between($sa,"<ul imagesrc=\"arrow_r.gif\">","</ul>");
$links = extract_URLs($sa);
$list= "";
foreach ($links as $v) {
$v = str_replace("<font size=2>","",$v);
$v = str_replace("</font>","",$v);
$list .= "<a href=\"lyrics.php?song=".myhtmlentities($v[1])."&ws=viewlyrics&sid=".$sid."\">".myhtmlentities($v[0])."</a><br/>";
}
$fulllist = explode("<br/>",$list);
$page = trim($_REQUEST["page"]);
print "Lyrics ";
print ($page - 10)." / ".$page." of ";
print count($fulllist)."<br/>------<br/>";
for ($i = $page-1; $i < $page+10; $i++) {
print $fulllist[$i]."<br/>";
}
$firstletter = substr($s, 0, 1);
print "------<br/>";
print "<a href=\"lyrics.php?ws=".$ws."&s=".$s."&page==".($page + 1)."&sid=".$sid."\">more...</a><br/>";
print "<a href=\"lyrics.php?ws=".$ws."&s=".$s."&page==".($page - 1)."&sid=".$sid."\">back...</a><br/>";
print "<a href=\"lyrics.php?ws=".$ws."&letter=".$firstletter."&sid=".$sid."\">Back to [".$firstletter."]</a><br/>";
print "<a href=\"lyrics.php?sid=".$sid."\">Lyrics Index</a>";
}
$song = $_REQUEST["song"];
if($wapsidemode=="viewlyrics"){
$saaa = file_get_contents('http://www.lyricsdownload.com/'.$song.'');
$saaa = str_replace("\n", "", $saaa);
$saaa = str_replace("\t", "", $saaa);
$saaa = get_string_between($saaa,"<center><font class=\"txt_1\">","</font>");
$saaa = str_replace("<br /><br />","<br/>",$saaa);
$saaa = str_replace("<center><font class=\"txt_1\">","",$saaa);
$saaa = str_replace("</font></center>","",$saaa);
$saaa = str_replace("&","&",$saaa);
echo $saaa;
$firstletter = substr($song, 0, 1);
print "<br/>------<br/><anchor>Back to singer<prev/></anchor><br/>";
print "<a href=\"lyrics.php?ws=letter&letter=".$firstletter."&sid=".$sid."\">Back to [".$firstletter."]</a><br/>";
print "<a href=\"lyrics.php?sid=".$sid."\">Lyrics Index</a>";
}
?>
</p>
</card>
</wml>
razib Developer · 132 posts #12

Please upload full script not only index

🦸 Buying mobile traffic, PM me with your traffic details

pimpin Junior · 20 posts #13

Heres a script i used on my site (needs to be edited for wap) its similar to the hotsmusic script gumslone posted but some of the sources work on this script

archer Developer · 83 posts #14

any1 have a lyric search script like lyricsfly.mobi?

WAPMASTER ADD YOUR SITE AT TOPBEST AND GET 1000 UNIQUE VISIT PER DAY

modfiles Developer · 200 posts #15

lyricsfly.mobi uses lyricsfly api. you can visit lyricsfly website and get the api and use it.

archer Developer · 83 posts #16

Dunno hw to use the API anyway, am not a coder lol just able to edit the script lol but am learning

WAPMASTER ADD YOUR SITE AT TOPBEST AND GET 1000 UNIQUE VISIT PER DAY

dshadow Junior · 39 posts #18

here is a working mp3 search script from 4shared xtmobi.com/mp3

Free Mobile Files Sharing --> hxxp://ushared.mobi Free Guestbook Services --> hxxp://wybee.com Free Toplist Services --> hxxp://tricktop.com

rh0bz Junior · 30 posts #19

dshadow wrote: here is a working mp3 search script from 4shared xtmobi.com/mp3

can u share the script?

morency Senior · 488 posts #20

how much money u want for that script ???

Unamos los corazones,hoy todos somos multicolores!

Write your reply now; next you create a free account (or sign in) and it is posted right away. Sign in to reply.

Similar topics

Keyboard shortcuts

g f
Go to forums
g h
Go to your feed
g m
Go to messages
r
Reply (in a topic)
/
Search
j
Next post
k
Previous post
?
This list
Ctrl/⌘ + Enter
Send what you are writing
Ctrl/⌘ + B / I
Bold / italic while writing
Esc
Close