Current time: 12-09-2016, 07:03 AM Stay in touch via Twitter Facebook RSS Feed
Ada Baiknya anda baca Peraturan Forum ForNesia Disini Dan Disitu Sebelum Terlambat!
System Registration Forums Mulai Kedepan Sewaktu waktu akan Di Tutup.
Silahkan Dibaca Mengenai Auto Pruning User . Agar tidak ada pertanyaan lagi tentang kehilangan akses forum.



[Share] php script speedtest

03-08-2014 11:24 AM php script speedtest
#1


ksatria Away
Baru Belajar
Registered
*

Posts: 9
Joined: Mar 2014

Reputation:

FCoin: 2.00ƒc
kreasikan lagi biar cakep
PHP Code:
<?php  
if(isset($_GET['kbps']))  
{  
?>  
<?php  
        $kbps 
round($_GET['kbps'], 2);  
        
$ksec round($kbps 82);  
        
$mbps round($kbps 10242);  
        
$msec round($mbps 82);  
?>  
<center>  

<br><br>  
Your Current Bandwidth is:<br><br>  
<?php  
   
if ($mbps 1)  
    {  
      
printf ("%.2f",$mbps);  
      echo 
" Mbps<br><br>";  
    }  
   else  
    {  
          
printf ("%.2f",$kbps);  
      echo 
"kbps<br><br>";  
    }  
   echo 
"That Means You Can Download At " $ksec " KB/sec. FROM&nbsp;THIS&nbsp;SITE.";  
?>  
<br><br>  
<a href="speed.php">Perform a New Test</a>  
</center>  
<?php  
}  
else  
{  
?>  

<?php  
$default_kbyte_test_size 
512;  
?>  
<html>  
        <head>  
                <title>Bandwidth Test</title>  
                <meta http-equiv="Content-Type" content="text/html; charset=windows-1252">  
                <META HTTP-EQUIV="Expires" CONTENT="Fri, Jun 12 1981 08:20:00 GMT">  
                <META HTTP-EQUIV="Pragma" CONTENT="no-cache">  
                <META HTTP-EQUIV="Cache-Control" CONTENT="no-cache">  
                <link rel="stylesheet" href="style.css">  
        </head>  

        <body>  
                <center>  
<br><br><br><br><br><br>  
                                                Testing Your Current Bandwidth...  

<script language="JavaScript">  
<!--  
        time      = new Date();  
        starttime = time.getTime();  
// -->  
</script>  

<?php  
    
// $data_file Should Be A Junk Binary File I Tested It With a 3 MB file.  
    //Use Any Binary File And Just Rename It  
    //I Just Used A ZIpped Backup File Of Mine  
        
$data_file "A_Sample_binary_file.zip";  
        
$fd fopen ($data_file"rb+");  

        
$test_kbytes $default_kbyte_test_size;  

        
$contents fread ($fd$test_kbytes 1024);  
                 
        echo 
"<!-- $contents -->";  
        
fclose ($fd);  

?>  
<script language="JavaScript">  
<!--  
        time          = new Date();  
        endtime       = time.getTime();  
        if (endtime == starttime)  
                {downloadtime = 0  
                }  
        else  
        {downloadtime = (endtime - starttime)/1000;  
        }  

        kbytes_of_data = <?php echo $test_kbytes?>;  
        linespeed     = kbytes_of_data/downloadtime;  
        kbps          = (Math.round((linespeed*8)*10*1.024))/10;  
        nexturl = 'speed.php?kbps='+ kbps;  
    //alert(kbytes_of_data);  
    document.location.href=nexturl;  
// -->  
</script>  
<center>  
</body>  
</html>  
<?php  
}  
?>
03-08-2014 03:50 PM RE: php script speedtest
#2


kantong-menyan Away
Baru Belajar
Registered
*

Posts: 7
Joined: Mar 2014

Reputation:

FCoin: 2.00ƒc
mantep nih skripnya meskipun interfacenya jauh sama yang punya spidol...
03-09-2014 03:22 AM RE: php script speedtest
#3


ksatria Away
Baru Belajar
Registered
*

Posts: 9
Joined: Mar 2014

Reputation:

FCoin: 2.00ƒc
ya tinggal percantik aja bro itu script intinya
03-09-2014 11:16 AM RE: php script speedtest
#4


chainX
Unregistered

 
FCoin: 0.00ƒc
keren nih,, ane ijin coba om..
03-09-2014 09:22 PM RE: php script speedtest
#5


ksatria Away
Baru Belajar
Registered
*

Posts: 9
Joined: Mar 2014

Reputation:

FCoin: 2.00ƒc
lanjutkan kata sby wkwkwkwk
03-10-2014 07:51 PM RE: php script speedtest
#6


edogawa.12 Away
HunteR
HunteR
*

Posts: 85
Joined: Mar 2014

Reputation:

FCoin: 4.52ƒc
manteb nih script untuk dikembangin newbie seperti ane ketawaaa

edogawa.12, proud to be a member of ForNesia Family since Mar 2014.
03-17-2014 01:27 PM RE: php script speedtest
#7


indteam Away
HunteR
HunteR
*

Posts: 49
Joined: Mar 2014

Reputation:

FCoin: 3.17ƒc
Super simple perlu di kembangkan ...

AKU RAPOPO MENENGO
[Image: computerstress.gif]
03-25-2014 02:05 PM RE: php script speedtest
#8


ajhecom Away
HunteR
HunteR
*

Posts: 52
Joined: Jan 2014

Reputation:

FCoin: 2.09ƒc
lumayan buat nambah nambah project ane
03-29-2014 08:43 AM RE: php script speedtest
#9


didi.manoso Away
HunteR
HunteR
*

Posts: 81
Joined: Mar 2014

Reputation:

FCoin: 9.81ƒc
mantap,, ane coba dulu ketawaaa

didi.manoso, proud to be a member of ForNesia Family since Mar 2014.
03-29-2014 11:06 AM RE: php script speedtest
#10


Arsyhad30 Away
ForNesia Family
Registered
*

Posts: 11
Joined: Mar 2014

Reputation:

FCoin: 2.00ƒc
oke gan kangsung ke TKP.. hehehe...
08-14-2014 04:05 PM RE: php script speedtest
#11


wibbyssh Away
HunteR
HunteR
*

Posts: 52
Joined: Jun 2014

Reputation:

FCoin: 2.00ƒc
Lumayan dah nambah" source code .
makasih om jempol:

Wibby, proud to be a member of ForNesia Family since Jun 2014.
08-15-2014 05:10 AM RE: php script speedtest
#12


Arpra99 Away
FNS Police
Super Moderators
*******

Posts: 1,419
Joined: Jan 2014

Reputation:

FCoin: 13.45ƒc
ForNesia LoversBitcoin DonaturExtreme StaffTrusted PersonLegendary ForNesiaTop Poster
(03-09-2014 11:16 AM)chainX Wrote:  keren nih,, ane ijin coba om..

(03-17-2014 01:27 PM)indteam Wrote:  Super simple perlu di kembangkan ...

(03-28-2014 12:32 AM)danishfth Wrote:  tak ngerti om ketawaaa

(03-29-2014 08:43 AM)didi.manoso Wrote:  mantap,, ane coba dulu ketawaaa

(03-29-2014 11:06 AM)Arsyhad30 Wrote:  oke gan kangsung ke TKP.. hehehe...

(05-06-2014 02:28 AM)andriR Wrote:  makasihhh banyakk ilmunya gannn ...

(06-14-2014 04:36 AM)evan21 Wrote:  thanks om. ijin copas scriptnya Smile

(06-16-2014 12:02 AM)Davv558 Wrote:  iji coba gan moga" bermanfaat hehe:

Dibaca dulu om siaga:
Kalau ngepost jangan mengandung SPAM+JUNK

Spoiler :

[Image: coollogo_com_5514825.gif]
10-10-2014 05:31 AM RE: php script speedtest
#13


User Away
HunteR
HunteR
*

Posts: 54
Joined: Jul 2014

Reputation:

FCoin: 2.00ƒc
waktu itu ane sempet nyari gak dapet, akhirnya dapet juga dimari
thanks gan..
sekalian mau bereksperimen lagi buat dikembangin hehe....
10-10-2014 12:22 PM RE: php script speedtest
#14


DiJe Away
HunteR
HunteR
*

Posts: 49
Joined: Sep 2014

Reputation:

FCoin: 2.00ƒc
nambahin aja, itu ada kode
Code:
$data_file = "A_Sample_binary_file.zip";
brarti harus ada file yg namanya "A_Sample_binary_file.zip" , ukurannya kira2 3mb klo ngikutin komen di script
12-20-2014 07:27 AM RE: php script speedtest
#15


ketek Away
HunteR
HunteR
*

Posts: 54
Joined: Sep 2014

Reputation:

FCoin: 2.05ƒc
apa ga beratin loadpage ??




Possibly Related Threads...
Thread: Author Last Post
  [Info] kumpulan script premium free Brandal 11-19-2015 10:03 PM
Last Post: loji
  [Ask] Script Share FB To View Link Di Blogger zeph 12-05-2014 11:11 PM
Last Post: ravikhayyu
  [Share] script ping in php ksatria 05-24-2014 01:13 AM
Last Post: droiders123
  [Share] php script menampilkan host ip kita ksatria 03-09-2014 09:19 PM
Last Post: ksatria

Search thread:


[-]
Advertisement