Ir para conteúdo
Fórum Script Brasil

Fazer Conta De Tempo


paula_faria

Posts Recomendados

ow...então não é?....como q eu faço a conta pra estimar um tempo de download???

eu só sei achar a velo em kb da conexao....q é apenas dividir o valor em kbps da conexao q vai resultar nos KBps...

ae eu queria saber agora, como eu faço, pra saber quanto tempo vai demorar um download de por exemplo 500 mb em uma certa tal velocidade......

como q é esse conta

?????????

vlw...............................

tchau!

Link para o comentário
Compartilhar em outros sites

embaixo do formulario tem uma explicação de como é feito ..

ficou massa gladiador, parabéns!

Link para o comentário
Compartilhar em outros sites

/* Isso era um script em JavaScript transformei em php para testar e deu nisso:

###############################
/*Pego na Web alterado e transformado para 
php By Lord Gladiador usem quando quizer não 
faço questão que seja utilizado meu nome pois
como disse só tranformei para PHP não sei quem 
é o autor do JS mas em PHP sou eu */
###############################

<?php

echo "<html>\n";
echo "<head>\n";
echo "<title></title>\n";
echo "</head>\n";
echo "\n";
echo "<body>\n";
echo "<script LANGUAGE=JavaScript><!--\n";
echo "\n";
echo "var sizenum = 14;\n";
echo "\n";
echo "\n";
echo "bps = new Array(sizenum);\n";
echo "bps[1] = \"33600.0\";\n";
echo "bps[2] = \"56000.0\";\n";
echo "bps[3] = \"64000.0\";\n";
echo "bps[4] = \"128000.0\";\n";
echo "bps[5] = \"256000.0\";\n";
echo "bps[6] = \"640000.0\";\n";
echo "bps[7] = \"768000.0\";\n";
echo "bps[8] = \"1544000.0\";\n";
echo "bps[9] = \"44736000.0\";\n";
echo "bps[10] = \"51840000.0\";\n";
echo "bps[11] = \"155520000.0\";\n";
echo "bps[12] = \"622080000.0\";\n";
echo "bps[13] = \"2488000000.0\";\n";
echo "bps[14] = \"10000000000.0\";\n";
echo "\n";
echo "\n";
echo "\n";
echo "function getFactor()\n";
echo "{\n";
echo "	if(document.forms[\"fileInfo\"].fileSizeType[0].checked)\n";
echo "	{\n";
echo "  return document.forms[\"fileInfo\"].fileSizeType[0].value;\n";
echo "	}\n";
echo "	else if(document.forms[\"fileInfo\"].fileSizeType[1].checked)\n";
echo "	{\n";
echo "  return document.forms[\"fileInfo\"].fileSizeType[1].value;\n";
echo "	}\n";
echo "	else if(document.forms[\"fileInfo\"].fileSizeType[2].checked)\n";
echo "	{\n";
echo "  return document.forms[\"fileInfo\"].fileSizeType[2].value;\n";
echo "	}\n";
echo "	else if(document.forms[\"fileInfo\"].fileSizeType[3].checked)\n";
echo "	{\n";
echo "  return document.forms[\"fileInfo\"].fileSizeType[3].value;\n";
echo "	}\n";
echo "	return 0;\n";
echo "}\n";
echo "\n";
echo "function calc() {\n";
echo "	var factor = getFactor();\n";
echo "	var filesize = parseFloat(document.forms[\"fileInfo\"].fileSize.value);\n";
echo "	if(factor != 0 && filesize != \"NaN\")\n";
echo "	{\n";
echo "  for (x = 1; x <= sizenum; x++) {\n";
echo "  \n";
echo "  	var filetime = (factor * filesize) / ((bps[x]/8)/1024);\n";
echo "  	\n";
echo "  	millenium = Math.floor(filetime / 31536000000);\n";
echo "  	filetime = filetime - (millenium * 31536000000)\n";
echo "  	\n";
echo "  	century = Math.floor(filetime / 3153600000);\n";
echo "  	filetime = filetime - (century * 3153600000)\n";
echo "  	\n";
echo "  	year = Math.floor(filetime / 31536000);\n";
echo "  	filetime = filetime - (year * 31536000);\n";
echo "      \n";
echo "  	day = Math.floor(filetime / 86400);\n";
echo "  	filetime = filetime - (day * 86400)\n";
echo "\n";
echo "  	hour = Math.floor(filetime / 3600);\n";
echo "  	filetime = filetime - (hour * 3600);\n";
echo "\n";
echo "  	minute = Math.floor(filetime / 60);\n";
echo "  	filetime = filetime - (minute * 60);\n";
echo "  	\n";
echo "  	second = Math.floor(filetime);\n";
echo "\n";
echo "  	var resultString = \"\";\n";
echo "  	if(hour <= 0 && minute <= 0 && second <= 0 && day <= 0 && year <= 0 && century <= 0 && millenium <= 0)\n";
echo "  	{\n";
echo "    resultString = \"Menos de um segundo.\";\n";
echo "  	}\n";
echo "  	else\n";
echo "  	{\n";
echo "    if(millenium > 0)\n";
echo "    {\n";
echo "    	if(millenium == 1)\n";
echo "    	{\n";
echo "      resultString = resultString + millenium + \" milênio, \";\n";
echo "    	}\n";
echo "    	else\n";
echo "    	{\n";
echo "      resultString = resultString + millenium + \" milênios, \";\n";
echo "    	}\n";
echo "    }\n";
echo "    if(century > 0)\n";
echo "    {\n";
echo "    	if(century == 1)\n";
echo "    	{\n";
echo "      resultString = resultString + century + \" século, \";\n";
echo "    	}\n";
echo "    	else\n";
echo "      {\n";
echo "      resultString = resultString + century + \" séculos, \";\n";
echo "    	}\n";
echo "    }\n";
echo "    if(year > 0)\n";
echo "    {\n";
echo "    	if(year == 1)\n";
echo "    	{\n";
echo "      resultString = resultString + year + \" ano, \";\n";
echo "    	}\n";
echo "    	else\n";
echo "    	{\n";
echo "      resultString = resultString + year + \" anos, \";\n";
echo "    	}\n";
echo "    }\n";
echo "    if(day > 0)\n";
echo "    {\n";
echo "    	if(day == 1)\n";
echo "    	{\n";
echo "      resultString = resultString + day + \" dia, \";\n";
echo "    	}\n";
echo "    	else\n";
echo "    	{\n";
echo "      resultString = resultString + day + \" dias, \";\n";
echo "    	}\n";
echo "    }\n";
echo "    if(hour > 0)\n";
echo "    {\n";
echo "    	if(hour == 1)\n";
echo "    	{\n";
echo "      resultString = resultString + hour + \" hr, \";\n";
echo "    	}\n";
echo "    	else\n";
echo "    	{\n";
echo "      resultString = resultString + hour + \" hrs, \";\n";
echo "    	}\n";
echo "    }\n";
echo "    if(minute > 0)\n";
echo "    {\n";
echo "    	if(minute == 1)\n";
echo "    	{\n";
echo "      resultString = resultString + minute + \" min, \";\n";
echo "    	}\n";
echo "    	else\n";
echo "    	{\n";
echo "      resultString = resultString + minute + \" mins, \";\n";
echo "    	}\n";
echo "    }\n";
echo "    if(second > 0)\n";
echo "    {\n";
echo "    	if(second == 1)\n";
echo "    	{\n";
echo "      resultString = resultString + second + \" seg, \";\n";
echo "    	}\n";
echo "    	else\n";
echo "    	{\n";
echo "      resultString = resultString + second + \" segs, \";\n";
echo "    	}\n";
echo "    }\n";
echo "    resultString = resultString.slice(0,resultString.length - 2);\n";
echo "  	}\n";
echo "  	document.forms[\"results\"].elements[\"time\" + x].value = resultString;\n";
echo "        };\n";
echo "	}\n";
echo "}\n";
echo "// -->\n";
echo "</SCRIPT>\n";
echo "\n";
echo "\n";
echo "\n";
echo " <script language=\"javascript\">\n";
echo " <!--\n";
echo " function isThreeDigits( formElement ) {\n";
echo "   if ( ( formElement.value > 99 ) && ( formElement.value < 1000 ) ) {\n";
echo "       return( true );\n";
echo "   }\n";
echo "   else {\n";
echo "     formElement.focus( );\n";
echo "     alert( \"Please enter a valid three digit number.\" );\n";
echo "     return( false );\n";
echo "   }\n";
echo " }\n";
echo " //-->\n";
echo " </script>\n";
echo "<!-- Tabela onde está o form -->\n";
echo "<br>\n";
echo "<table width=\"400\" border=\"0\" align=\"center\" cellpadding=\"3\" cellspacing=\"1\" bgcolor=\"#000000\">\n";
echo "  <tr> \n";
echo "    <td width=\"150\" height=\"390\" align=\"center\" valign=\"top\" bgcolor=\"#FFFFCC\" class=\"finePrint\"> \n";
echo "      <form name=\"fileInfo\">\n";
echo "        <table width=\"125\" border=\"0\" cellpadding=\"2\" cellspacing=\"0\">\n";
echo "          <tr> \n";
echo "            <td class=\"formField\"><font size=\"1\" face=\"Verdana, Arial, Helvetica, sans-serif\">Tamanho do arquivo: </font>\n";
echo "<input type=\"text\" name=\"fileSize\" maxlength=\"20\" size=\"5\" class=\"tableText\" onChange=\"calc();\"></td>\n";
echo "          </tr>\n";
echo "          <tr> \n";
echo "            <td align=\"left\" class=\"formField\"><font size=\"1\" face=\"Verdana, Arial, Helvetica, sans-serif\"> \n";
echo "              <input type=\"radio\" name=\"fileSizeType\" value=\"1\" onClick=\"calc();\">\n";
echo "              KB (Kilobytes)</font></td>\n";
echo "          </tr>\n";
echo "          <tr> \n";
echo "            <td align=\"left\" class=\"formField\"><font size=\"1\" face=\"Verdana, Arial, Helvetica, sans-serif\"> \n";
echo "              <input type=\"radio\" name=\"fileSizeType\" value=\"1024\" onClick=\"calc();\" checked>\n";
echo "              MB (Megabytes)</font></td>\n";
echo "          </tr>\n";
echo "          <tr> \n";
echo "            <td align=\"left\" class=\"formField\"><font size=\"1\" face=\"Verdana, Arial, Helvetica, sans-serif\"> \n";
echo "              <input type=\"radio\" name=\"fileSizeType\" value=\"1048576\" onClick=\"calc();\">\n";
echo "              GB (Gigabytes)</font></td>\n";
echo "          </tr>\n";
echo "          <tr> \n";
echo "            <td align=\"left\" class=\"formField\"><font size=\"1\" face=\"Verdana, Arial, Helvetica, sans-serif\"> \n";
echo "              <input type=\"radio\" name=\"fileSizeType\" value=\"1073741824\" onClick=\"calc();\">\n";
echo "              TB (Terabytes)</font></td>\n";
echo "          </tr>\n";
echo "        </table>\n";
echo "        <input type=\"button\" name=\"Button\" value=\"Calcular\">\n";
echo "        <br>   \n";
echo "      </form>\n";
echo "      <table width=\"125\" border=\"0\" cellpadding=\"3\" cellspacing=\"1\" bgcolor=\"#000000\">\n";
echo "        <tr> \n";
echo "          <td valign=\"top\" bgcolor=\"#FF0000\" class=\"finePrint\"> \n";
echo "            <p align=\"center\"><font color=\"#FFFFFF\" size=\"1\" face=\"Arial, Helvetica, sans-serif\">Aten&ccedil;&atilde;o \n";
echo "              </font></p>\n";
echo "            <p align=\"center\"><font color=\"#FFFFFF\" size=\"1\" face=\"Arial, Helvetica, sans-serif\"> \n";
echo "              estes c&aacute;lculos s&atilde;o para condi&ccedil;&otilde;es perfeitas \n";
echo "              de tr&aacute;fego. O tempo de download pode variar de acordo com \n";
echo "              o traf&eacute;go na internet e utiliza&ccedil;&atilde;o da conex&atilde;o.</font></p>\n";
echo "          </td>\n";
echo "        </tr>\n";
echo "      </table>\n";
echo "      <br> </td>\n";
echo "    <td valign=\"top\" width=\"375\" bgcolor=\"#FFFFFF\"> <form name=\"results\">\n";
echo "        <table width=\"375\" border=\"0\" cellpadding=\"2\" cellspacing=\"0\">\n";
echo "          <tr bgcolor=\"#3399CC\"> \n";
echo "            <td width=\"100\" align=\"center\" class=\"tableTitle\"><font size=\"2\" face=\"Verdana, Arial, Helvetica, sans-serif\"><b>Conex&atilde;o</b></font></td>\n";
echo "            <td width=\"100\" align=\"center\" class=\"tableTitle\"><font size=\"2\" face=\"Verdana, Arial, Helvetica, sans-serif\"><b>Capacidade</b></font></td>\n";
echo "            <td align=\"center\" class=\"tableTitle\"><font size=\"2\" face=\"Verdana, Arial, Helvetica, sans-serif\"><b>Dura&ccedil;&atilde;o</b></font></td>\n";
echo "          </tr>\n";
echo "          <tr bgcolor=\"#FFFFCC\"> \n";
echo "            <td align=\"center\" class=\"tableText\"><font size=\"1\" face=\"Verdana, Arial, Helvetica, sans-serif\">33.6 \n";
echo "              K (Modem)</font></td>\n";
echo "            <td align=\"center\" class=\"tableText\"><font size=\"1\" face=\"Verdana, Arial, Helvetica, sans-serif\">33,600 \n";
echo "              bps</font></td>\n";
echo "            <td align=\"center\" class=\"tableText\"><font size=\"1\" face=\"Verdana, Arial, Helvetica, sans-serif\"> \n";
echo "              <input type=\"text\" name=\"time1\" size=\"20\" class=\"tableText\">\n";
echo "              </font></td>\n";
echo "          </tr>\n";
echo "          <tr bgcolor=\"#3399CC\"> \n";
echo "            <td align=\"center\" class=\"tableText\"><font size=\"1\" face=\"Verdana, Arial, Helvetica, sans-serif\">56 \n";
echo "              K (Modem)</font></td>\n";
echo "            <td align=\"center\" class=\"tableText\"><font size=\"1\" face=\"Verdana, Arial, Helvetica, sans-serif\">56,000 \n";
echo "              bps</font></td>\n";
echo "            <td align=\"center\" class=\"tableText\"><font size=\"1\" face=\"Verdana, Arial, Helvetica, sans-serif\"> \n";
echo "              <input type=\"text\" name=\"time2\" size=\"20\" class=\"tableText\">\n";
echo "              </font></td>\n";
echo "          </tr>\n";
echo "          <tr bgcolor=\"#FFFFCC\"> \n";
echo "            <td align=\"center\" class=\"tableText\"><font size=\"1\" face=\"Verdana, Arial, Helvetica, sans-serif\">64 \n";
echo "              K (DVI / Banda Larga)</font></td>\n";
echo "            <td align=\"center\" class=\"tableText\"><font size=\"1\" face=\"Verdana, Arial, Helvetica, sans-serif\">64,000 \n";
echo "              bps</font></td>\n";
echo "            <td align=\"center\" class=\"tableText\"><font size=\"1\" face=\"Verdana, Arial, Helvetica, sans-serif\"> \n";
echo "              <input type=\"text\" name=\"time3\" size=\"20\" class=\"tableText\">\n";
echo "              </font></td>\n";
echo "          </tr>\n";
echo "          <tr bgcolor=\"#3399CC\"> \n";
echo "            <td align=\"center\" class=\"tableText\"><font size=\"1\" face=\"Verdana, Arial, Helvetica, sans-serif\">128 \n";
echo "              K (DVI / Banda larga)</font></td>\n";
echo "            <td align=\"center\" class=\"tableText\"><font size=\"1\" face=\"Verdana, Arial, Helvetica, sans-serif\">128,000 \n";
echo "              bps</font></td>\n";
echo "            <td align=\"center\" class=\"tableText\"><font size=\"1\" face=\"Verdana, Arial, Helvetica, sans-serif\"> \n";
echo "              <input type=\"text\" name=\"time4\" size=\"20\" class=\"tableText\">\n";
echo "              </font></td>\n";
echo "          </tr>\n";
echo "          <tr bgcolor=\"#FFFFCC\"> \n";
echo "            <td align=\"center\" class=\"tableText\"><font size=\"1\" face=\"Verdana, Arial, Helvetica, sans-serif\">256 \n";
echo "              K (Banda Larga)</font></td>\n";
echo "            <td align=\"center\" class=\"tableText\"><font size=\"1\" face=\"Verdana, Arial, Helvetica, sans-serif\">256,000 \n";
echo "              bps</font></td>\n";
echo "            <td align=\"center\" class=\"tableText\"><font size=\"1\" face=\"Verdana, Arial, Helvetica, sans-serif\"> \n";
echo "              <input type=\"text\" name=\"time5\" size=\"20\" class=\"tableText\">\n";
echo "              </font></td>\n";
echo "          </tr>\n";
echo "          <tr bgcolor=\"#3399CC\"> \n";
echo "            <td align=\"center\" class=\"tableText\"><font size=\"1\" face=\"Verdana, Arial, Helvetica, sans-serif\">640 \n";
echo "              K (Banda Larga)</font></td>\n";
echo "            <td align=\"center\" class=\"tableText\"><font size=\"1\" face=\"Verdana, Arial, Helvetica, sans-serif\">640,000 \n";
echo "              bps</font></td>\n";
echo "            <td align=\"center\" class=\"tableText\"><font size=\"1\" face=\"Verdana, Arial, Helvetica, sans-serif\"> \n";
echo "              <input type=\"text\" name=\"time6\" size=\"20\" class=\"tableText\">\n";
echo "              </font></td>\n";
echo "          </tr>\n";
echo "          <tr bgcolor=\"#FFFFCC\"> \n";
echo "            <td align=\"center\" class=\"tableText\"><font size=\"1\" face=\"Verdana, Arial, Helvetica, sans-serif\">768 \n";
echo "              K (Banda Larga)</font></td>\n";
echo "            <td align=\"center\" bgcolor=\"#FFFFCC\" class=\"tableText\"><font size=\"1\" face=\"Verdana, Arial, Helvetica, sans-serif\">768,000 \n";
echo "              bps</font></td>\n";
echo "            <td align=\"center\" class=\"tableText\"><font size=\"1\" face=\"Verdana, Arial, Helvetica, sans-serif\"> \n";
echo "              <input type=\"text\" name=\"time7\" size=\"20\" class=\"tableText\">\n";
echo "              </font></td>\n";
echo "          </tr>\n";
echo "          <tr bgcolor=\"#3399CC\"> \n";
echo "            <td align=\"center\" class=\"tableText\"><font size=\"1\" face=\"Verdana, Arial, Helvetica, sans-serif\">T1, \n";
echo "              DS-1</font></td>\n";
echo "            <td align=\"center\" class=\"tableText\"><font size=\"1\" face=\"Verdana, Arial, Helvetica, sans-serif\">1.544 \n";
echo "              Mbps</font></td>\n";
echo "            <td align=\"center\" class=\"tableText\"><font size=\"1\" face=\"Verdana, Arial, Helvetica, sans-serif\"> \n";
echo "              <input type=\"text\" name=\"time8\" size=\"20\" class=\"tableText\">\n";
echo "              </font></td>\n";
echo "          </tr>\n";
echo "          <tr bgcolor=\"#FFFFCC\"> \n";
echo "            <td align=\"center\" class=\"tableText\"><font size=\"1\" face=\"Verdana, Arial, Helvetica, sans-serif\">T3, \n";
echo "              DS-3</font></td>\n";
echo "            <td align=\"center\" class=\"tableText\"><font size=\"1\" face=\"Verdana, Arial, Helvetica, sans-serif\">44.736 \n";
echo "              Mbps</font></td>\n";
echo "            <td align=\"center\" class=\"tableText\"><font size=\"1\" face=\"Verdana, Arial, Helvetica, sans-serif\"> \n";
echo "              <input type=\"text\" name=\"time9\" size=\"20\" class=\"tableText\">\n";
echo "              </font></td>\n";
echo "          </tr>\n";
echo "          <tr bgcolor=\"#3399CC\"> \n";
echo "            <td align=\"center\" class=\"tableText\"><font size=\"1\" face=\"Verdana, Arial, Helvetica, sans-serif\">OC-1</font></td>\n";
echo "            <td align=\"center\" class=\"tableText\"><font size=\"1\" face=\"Verdana, Arial, Helvetica, sans-serif\">51.840 \n";
echo "              Mbps</font></td>\n";
echo "            <td align=\"center\" class=\"tableText\"><font size=\"1\" face=\"Verdana, Arial, Helvetica, sans-serif\"> \n";
echo "              <input type=\"text\" name=\"time10\" size=\"20\" class=\"tableText\">\n";
echo "              </font></td>\n";
echo "          </tr>\n";
echo "          <tr bgcolor=\"#FFFFCC\"> \n";
echo "            <td align=\"center\" class=\"tableText\"><font size=\"1\" face=\"Verdana, Arial, Helvetica, sans-serif\">OC-3</font></td>\n";
echo "            <td align=\"center\" class=\"tableText\"><font size=\"1\" face=\"Verdana, Arial, Helvetica, sans-serif\">155.520 \n";
echo "              Mbps</font></td>\n";
echo "            <td align=\"center\" class=\"tableText\"><font size=\"1\" face=\"Verdana, Arial, Helvetica, sans-serif\"> \n";
echo "              <input type=\"text\" name=\"time11\" size=\"20\" class=\"tableText\">\n";
echo "              </font></td>\n";
echo "          </tr>\n";
echo "          <tr bgcolor=\"#3399CC\"> \n";
echo "            <td align=\"center\" class=\"tableText\"><font size=\"1\" face=\"Verdana, Arial, Helvetica, sans-serif\">OC-12</font></td>\n";
echo "            <td align=\"center\" class=\"tableText\"><font size=\"1\" face=\"Verdana, Arial, Helvetica, sans-serif\">622.080 \n";
echo "              Mbps</font></td>\n";
echo "            <td align=\"center\" class=\"tableText\"><font size=\"1\" face=\"Verdana, Arial, Helvetica, sans-serif\"> \n";
echo "              <input type=\"text\" name=\"time12\" size=\"20\" class=\"tableText\">\n";
echo "              </font></td>\n";
echo "          </tr>\n";
echo "          <tr bgcolor=\"#FFFFCC\"> \n";
echo "            <td align=\"center\" class=\"tableText\"><font size=\"1\" face=\"Verdana, Arial, Helvetica, sans-serif\">OC-48</font></td>\n";
echo "            <td align=\"center\" class=\"tableText\"><font size=\"1\" face=\"Verdana, Arial, Helvetica, sans-serif\">2.488 \n";
echo "              Gbps</font></td>\n";
echo "            <td align=\"center\" class=\"tableText\"><font size=\"1\" face=\"Verdana, Arial, Helvetica, sans-serif\"> \n";
echo "              <input type=\"text\" name=\"time13\" size=\"20\" class=\"tableText\">\n";
echo "              </font></td>\n";
echo "          </tr>\n";
echo "          <tr bgcolor=\"#3399CC\"> \n";
echo "            <td align=\"center\" class=\"tableText\"><font size=\"1\" face=\"Verdana, Arial, Helvetica, sans-serif\">OC-192</font></td>\n";
echo "            <td align=\"center\" class=\"tableText\"><font size=\"1\" face=\"Verdana, Arial, Helvetica, sans-serif\">10 \n";
echo "              Gbps</font></td>\n";
echo "            <td align=\"center\" class=\"tableText\"><font size=\"1\" face=\"Verdana, Arial, Helvetica, sans-serif\"> \n";
echo "              <input type=\"text\" name=\"time14\" size=\"20\" class=\"tableText\">\n";
echo "              </font></td>\n";
echo "          </tr>\n";
echo "        </table>\n";
echo "      </form></td>\n";
echo "  </tr>\n";
echo "</table>\n";
echo "<p align=\"center\">&nbsp;</p>\n";
echo "<p align=\"center\"><font size=\"2\" face=\"Verdana, Arial, Helvetica, sans-serif\">Para \n";
echo "  converter kbps para Kb/s divida o total em kbps por 8.<br>\n";
echo "  mostrado abaixo:</font></p>\n";
echo "<p align=\"center\"><font color=\"#FF0000\" size=\"2\" face=\"Verdana, Arial, Helvetica, sans-serif\"><strong>128 \n";
echo "  kbps &divide;8 = 16 KB/s (Kilobytes por segundo)<br>\n";
echo "  256 kbps &divide;8 = 32 KB/s<br>\n";
echo "  300 kbps &divide;8 = 37.5 KB/s<br>\n";
echo "  512 kbps &divide;8 = 64 KB/s <br>\n";
echo "  600 kbps &divide;8 = 75 KB/s<br>\n";
echo "  1 Mbps = 1024 kbps &divide;8 = 128 KB/s</strong></font><br>\n";
echo "</p>\n";
echo "</body>\n";
echo "</html>\n";
echo "\n";
echo "\n";
echo "\n";

?>

quanto a lógica do negócio está no final do script

*/

Link para o comentário
Compartilhar em outros sites

Participe da discussão

Você pode postar agora e se registrar depois. Se você já tem uma conta, acesse agora para postar com sua conta.

Visitante
Responder

×   Você colou conteúdo com formatação.   Remover formatação

  Apenas 75 emoticons são permitidos.

×   Seu link foi incorporado automaticamente.   Exibir como um link em vez disso

×   Seu conteúdo anterior foi restaurado.   Limpar Editor

×   Você não pode colar imagens diretamente. Carregar ou inserir imagens do URL.



  • Estatísticas dos Fóruns

    • Tópicos
      152,3k
    • Posts
      652,3k
×
×
  • Criar Novo...