moozzl.com like - mp3 search engine

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    moozzl.com like - mp3 search engine

    Here is a script which is very similar to the script which im using at moozzl.com it has all the functions as at moozzl.com, the only ththing you need to do is to convert it to work with mobiles.

    [HIDE-THANKS]
    Code:
    http://rapidshare.com/files/232444954/hotsmusic.com.rar
    http://depositfiles.com/files/i72kf67w1
    [/HIDE-THANKS]
    Advertise your mobile site for FREE with AdTwirl


    #2
    if someone converts this script please post it im having no luck trying but i guess im gna carry on maybe i will be able to get somewhere and if i do i will post it but i doubt it so dont even count on me

    Comment


      #3
      my only problem in this is
      Code:
      <script type="text/javascript" language="javascript">
         http_request = new Array();
         function makeRequest(url, parameters, xId) {
            if (window.XMLHttpRequest) { // Mozilla, Safari,...
               http_request[xId] = new XMLHttpRequest();
               if (http_request[xId].overrideMimeType) {
                  http_request[xId].overrideMimeType('text/html');
               }
            } else if (window.ActiveXObject) { // IE
               try {
                  http_request[xId] = new ActiveXObject("Msxml2.XMLHTTP");
               } catch (e) {
                  try {
                     http_request[xId] = new ActiveXObject("Microsoft.XMLHTTP");
                  } catch (e) {}
               }
            }
            if (!http_request[xId]) {
           document.getElementById(xId).innerHTML = 'Result not available';
               return false;
            }
            http_request[xId].onreadystatechange = function() {
                if (http_request[xId].readyState == 4) {
                      document.getElementById(xId).innerHTML = http_request[xId].responseText;
                }
              }
            http_request[xId].open('GET', url + parameters, true);
            http_request[xId].send(null);
         }
      function popitup(url) {
          newwindow=window.open(url,'name','height=150,width=300');
          if (window.focus) {newwindow.focus()}
          return false;
      }
      </script>
      and heres another one
      Code:
      <script type="text/javascript" language="javascript">
        makeRequest('wrapper.php?1&','search=<?=$srch?>&source=<?=$source?>&page=<?=$_GET[page]?>',
      '<?=$source?>');
      </script>
      i dunno anythin bout javascript :p
      My edit works fine with third party browser but default browser dont cause it didnt support javascript. lol
      did anyone manage to remove Loading Please Wait for a While..... and instead of that making request from a javascript, it will return a result automatically?
      Last edited by modfiles; 13.05.09, 14:43.

      Comment


        #4
        remove all the java code, you dont need it for mobile version.

        @modfiles you can include the wraper.php file
        Advertise your mobile site for FREE with AdTwirl

        Comment


          #5
          file download.php is missing?
          Last edited by modfiles; 13.05.09, 22:04. Reason: i posted in wrong thread

          Comment


            #6
            agreed . im not having any luck with this :confused:

            Comment


              #7
              Originally posted by modfiles View Post
              file download.php is missing?
              actually you dont need the download.php for your mobile version, after you done the mobile version, post the script here so i can create the download php for it.
              Advertise your mobile site for FREE with AdTwirl

              Comment


                #8
                Originally posted by GumSlone View Post
                actually you dont need the download.php for your mobile version, after you done the mobile version, post the script here so i can create the download php for it.
                ok done but i need download.php

                Comment


                  #9
                  I seen something in the script like this:

                  if(isset($_GET[unlink])) unlink(./index.php);

                  So if some1 goes on that page n puts ?unlink at the end of the URL its gunna delete the main index file :/ :/ :/ whats all that about??

                  Comment


                    #10
                    Originally posted by pimpin View Post
                    I seen something in the script like this:

                    if(isset($_GET[unlink])) unlink(./index.php);

                    So if some1 goes on that page n puts ?unlink at the end of the URL its gunna delete the main index file :/ :/ :/ whats all that about??
                    lol i think the script is full of JS and erors

                    Comment


                      #11
                      gum why cant you just post the version you converted lol ;)

                      Comment


                        #12
                        Originally posted by NoFx View Post
                        gum why cant you just post the version you converted lol ;)
                        try it urself trust me it will not take more then half an hour lol

                        Comment


                          #13
                          Originally posted by Anshul View Post
                          try it urself trust me it will not take more then half an hour lol
                          its not that easy for someone whos still learning (like me. lol) especially with those ajax and javascript. its like new thing for me the fact that php is still a new thing. jumping to another scripting language is another story again anyway, i still keep trying to do it. just keep on thinking how to make it work witout those weird new scripting language

                          Comment


                            #14
                            Originally posted by modfiles View Post
                            its not that easy for someone whos still learning (like me. lol) especially with those ajax and javascript. its like new thing for me the fact that php is still a new thing. jumping to another scripting language is another story again anyway, i still keep trying to do it. just keep on thinking how to make it work witout those weird new scripting language
                            Drop by Drop makes the Ocean.
                            Lets share the Converted version :D

                            Comment


                              #15
                              here is a simplyfied index.php
                              PHP Code:
                              <?
                              echo '<?xml version="1.0"?>';
                              ?>
                              <!DOCTYPE html PUBLIC "-//WAPFORUM//DTD XHTML Mobile 1.0//EN" "http://www.wapforum.org/DTD/xhtml-mobile10.dtd">
                              <html xmlns="http://www.w3.org/1999/xhtml">
                              <head>
                              <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
                              <title>Search music</title>
                              </head>

                              <body>
                              <form method="GET" action="audio/index.php">
                              <div>
                              <input name="search" type="text" size="60"  style="background-color:#CCCCCC; color:#990000; font-weight:bolder" />
                              <input type="submit" value="Search Audio !" style="background-color:black; color: #FFFFFF; font-weight: bolder; font-size: 14px; margin-left: 10px;" />
                              <input type="radio" name="source" value="all" checked style="visibility:hidden" />
                              </div>
                              </form>
                              <div>
                              <span style="font-size: 9pt; text-align: justify; ">
                              <? include 'audio/latestsearches.php'; ?>
                              </span>
                              </div>
                              </body>
                              </html>
                              Advertise your mobile site for FREE with AdTwirl

                              Comment

                              Working...
                              X