Version: 1
Type: Full Script
Category: Other
License: GNU General Public License
Description: for those who thought progress bar is a just a VB stuff and not a PHP , this code is the answer , thanks for all programmers for the response they have given to my codes in phpbuilder , try this u will like it use 2 files x.php and y.php (x.php calls y.php) ,
<!doctype html public "-//w3c//dtd html 4.0 transitional//en"> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> <meta name="Author" content="Madhu"> <meta name="GENERATOR" content="Mozilla/4.75 [en] (Win98; U) [Netscape]"> <title>x</title> </head> <body> <HTML> <br><HEAD> <br><TITLE>time</TITLE> <br></HEAD> <br><BODY bgcolor='#COCOC0'> <br><pre> <br><? <br> for ($i=0;$i<=200000;$i=$i+5) <br> { <br> print ("<br>$i"); <br> if ($i==10) <br> { <br> ?> <br> <script language='javascript'> <br> window.open('y.php?i=10','winname','width=500,height=144,toolbar=0,location=0,directories=0,status=1,menuBar=0,scrollBars=0,resizable=0,top=200,left=150'); <br> </script> <br> <? <br> } <br> if ($i==50000) <br> { <br> ?> <br> <script language='javascript'> <br> window.open('y.php?i=5000','winname','width=500,height=144,toolbar=0,location=0,directories=0,status=1,menuBar=0,scrollBars=0,resizable=0,top=200,left=150'); <br> </script> <br> <? <br> } <br> if ($i==100000) <br> { <br> ?> <br> <script language='javascript'> <br> window.open( 'y.php?i=10000','winname','width=500,height=144,toolbar=0,location=0,directories=0,status=1,menuBar=0,scrollBars=0,resizable=0,top=200,left=150'); <br> </script> <br> <? <br> } <br> if ($i==150000) <br> { <br> ?> <br> <script language='javascript'> <br> window.open( 'y.php?i=15000','winname','width=500,height=144,toolbar=0,location=0,directories=0,status=1,menuBar=0,scrollBars=0,resizable=0,top=200,left=150'); <br> </script> <br> <? <br> } <br> if ($i==180000) <br> { <br> ?> <br> <script language='javascript'> <br> window.open( 'y.php?i=18000','winname','width=500,height=144,toolbar=0,location=0,directories=0,status=1,menuBar=0,scrollBars=0,resizable=0,top=200,left=150'); <br> </script> <br> <? <br> } <br> if ($i==200000) <br> { <br> ?> <br> <script language='javascript'> <br> window.open( 'y.php?i=20000','winname','width=500,height=144,toolbar=0,location=0,directories=0,status=1,menuBar=0,scrollBars=0,resizable=0,top=200,left=150'); <br> </script> <br> <? <br> } <br> } <br>?> <br></pre> <br></BODY> <br></HTML> <br> </body> </html>