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>
&lt;HTML>
<br>&lt;HEAD>
<br>&lt;TITLE>time&lt;/TITLE>
<br>&lt;/HEAD>
<br>&lt;BODY bgcolor='#COCOC0'>
<br>&lt;pre>
<br>&lt;?
<br>&nbsp;for ($i=0;$i&lt;=200000;$i=$i+5)
<br>&nbsp;{
<br>&nbsp; print ("&lt;br>$i");
<br>&nbsp; if ($i==10)
<br>&nbsp; {
<br>&nbsp;&nbsp; ?>
<br>&nbsp;&nbsp; &lt;script language='javascript'>
<br>&nbsp;&nbsp;&nbsp; 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>&nbsp;&nbsp; &lt;/script>
<br>&nbsp;&nbsp; &lt;?
<br>&nbsp; }
<br>&nbsp; if ($i==50000)
<br>&nbsp; {
<br>&nbsp;&nbsp; ?>
<br>&nbsp;&nbsp; &lt;script language='javascript'>
<br>&nbsp;&nbsp;&nbsp; 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>&nbsp;&nbsp; &lt;/script>
<br>&nbsp;&nbsp; &lt;?
<br>&nbsp; }
<br>&nbsp; if ($i==100000)
<br>&nbsp; {
<br>&nbsp;&nbsp; ?>
<br>&nbsp;&nbsp; &lt;script language='javascript'>
<br>&nbsp;&nbsp;&nbsp; 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>&nbsp;&nbsp; &lt;/script>
<br>&nbsp;&nbsp; &lt;?
<br>&nbsp; }
<br>&nbsp; if ($i==150000)
<br>&nbsp; {
<br>&nbsp;&nbsp; ?>
<br>&nbsp;&nbsp; &lt;script language='javascript'>
<br>&nbsp;&nbsp;&nbsp; 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>&nbsp;&nbsp; &lt;/script>
<br>&nbsp;&nbsp; &lt;?
<br>&nbsp; }
<br>&nbsp; if ($i==180000)
<br>&nbsp; {
<br>&nbsp;&nbsp; ?>
<br>&nbsp;&nbsp; &lt;script language='javascript'>
<br>&nbsp;&nbsp;&nbsp; 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>&nbsp;&nbsp; &lt;/script>
<br>&nbsp;&nbsp; &lt;?
<br>&nbsp; }
<br>&nbsp; if ($i==200000)
<br>&nbsp; {
<br>&nbsp;&nbsp; ?>
<br>&nbsp;&nbsp; &lt;script language='javascript'>
<br>&nbsp;&nbsp;&nbsp; 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>&nbsp;&nbsp; &lt;/script>
<br>&nbsp;&nbsp; &lt;?
<br>&nbsp; }
<br>&nbsp;}
<br>?>
<br>&lt;/pre>
<br>&lt;/BODY>
<br>&lt;/HTML>
<br>&nbsp;
</body>
</html>