Download Error!! Mobile not supported,

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

1 reply · 289 views · started 16 years ago · 1 min read

arg0s12 Developer · 144 posts #1

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:

<?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/>";
arg0s12 Developer · 144 posts #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,

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