Download Error!! Mobile not supported,

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

    Download Error!! Mobile not supported,

    I'll try to open my uploader, and it function as well, but when im tryin to download, "your browser is not a mobile phone" this words appear when im trying to download, , heres the code:



    Code:
    <?php
    include("core.php");
    include("config.php");
    connectdb();
    $sid = $_GET["sid"];
    $did = $_GET["did"];
    $agent = $_SERVER['HTTP_USER_AGENT'];
    $uid = getuid_sid($sid);
    if (eregi("mozilla", $agent))
     {
    echo "<head>";
    
       
       echo "<link rel=\"StyleSheet\" type=\"text/css\" href=\"style.css\" />";
       echo "</head>";
    
       echo "<body>";
          echo "<title>Error Browser</title>";
          echo "<p align=\"center\">";
          echo "Your browser is not a mobile phone<br/>";
          echo "<a href=\"index.php\">Home</a>";
          echo "</p>";
          echo "</body>";
          echo "</html>";
          exit();
    }
    if (eregi("anonymouse.org", $agent))
     {
    echo "<head>";
    
       
       echo "<link rel=\"StyleSheet\" type=\"text/css\" href=\"style.css\" />";
       echo "</head>";
    
    
       echo "<body>";
          echo "<title>Error Browser</title>";
    
    echo "<p align=\"center\">";
          echo "Your browser is not a mobile phone<br/>";
          echo "<a href=\"index.php\">Home</a>";
          echo "</p>";
          echo "</body>";
          echo "</html>";
          exit();
    }
    if (eregi("winwap", $agent))
     {
    echo "<head>";
    
       
       echo "<link rel=\"StyleSheet\" type=\"text/css\" href=\"style.css\" />";
       echo "</head>";
    
    
       echo "<body>";
          echo "<title>Error Browser</title>";
          echo "<p align=\"center\">";
          echo "Your browser is not a mobile phone<br/>";
          echo "<a href=\"index.php\">Home</a>";
          echo "</p>";
          echo "</body>";
          echo "</html>";
          exit();
    }
    if (eregi("gecko", $agent))
     {
    echo "<head>";
    
       
       echo "<link rel=\"StyleSheet\" type=\"text/css\" href=\"style.css\" />";
       echo "</head>";
    
    
       echo "<body>";
          echo "<title>Error Browser</title>";
          echo "<p align=\"center\">";
          echo "Your browser is not a mobile phone<br/>";
          echo "<a href=\"index.php\">Home</a>";
          echo "</p>";
          echo "</body>";
    
    exit();
    }
    if (eregi("omniweb", $agent))
     {
    echo "<head>";
    
       
       echo "<link rel=\"StyleSheet\" type=\"text/css\" href=\"style.css\" />";
       echo "</head>";
    
    
       echo "<body>";
          echo "<title>Error Browser</title>";
          echo "<p align=\"center\">";
          echo "Your browser is not a mobile phone<br/>";
          echo "<a href=\"index.php\">Home</a>";
          echo "</p>";
          echo "</body>";
          echo "</html>";
          exit();
    }
    if (eregi("msie", $agent))
     {
    echo "<head>";
    
       
       echo "<link rel=\"StyleSheet\" type=\"text/css\" href=\"style.css\" />";
       echo "</head>";
    
    
       echo "<body>";
          echo "<title>Error Browser</title>";
          echo "<p align=\"center\">";
          echo "Your browser is not a mobile phone<br/>";
          echo "<a href=\"index.php\">Home</a>";
          echo "</p>";
          echo "</body>";
          echo "</html>";
          exit();
    }
    if (eregi("konqueror", $agent))
     {
    echo "<head>";
    
       
       echo "<link rel=\"StyleSheet\" type=\"text/css\" href=\"style.css\" />";
       echo "</head>";
    
    echo "<body>";
          echo "<title>Error Browser</title>";
          echo "<p align=\"center\">";
          echo "Your browser is not a mobile phone<br/>";
          echo "<a href=\"index.php\">Home</a>";
          echo "</p>";
          echo "</body>";
          echo "</html>";
          exit();
    }
    if (eregi("safari", $agent))
     {
    echo "<head>";
    
       
       echo "<link rel=\"StyleSheet\" type=\"text/css\" href=\"style.css\" />";
       echo "</head>";
    
    
       echo "<body>";
          echo "<title>Error Browser</title>";
          echo "<p align=\"center\">";
          echo "Your browser is not a mobile phone<br/>";
          echo "<a href=\"index.php\">Home</a>";
          echo "</p>";
          echo "</body>";
          echo "</html>";
          exit();
    }
    if (eregi("netpositive", $agent))
     {
    echo "<head>";
    
       
       echo "<link rel=\"StyleSheet\" type=\"text/css\" href=\"style.css\" />";
       echo "</head>";
    
    
       echo "<body>";
          echo "<title>Error Browser</title>";
          echo "<p align=\"center\">";
          echo "Your browser is not a mobile phone<br/>";
    Last edited by subzero; 12.12.09, 22:31.

    #2
    I didnt post all the contain of script, coz, it too long, wilk anyone explain to me how to become capable to all browser my download station,

    Comment

    Working...
    X