Menu
i have about 55 iframes on a page and only 10/15 seem to be loading. it’s the first 10/15. is there a known amount of iframes allowed? the page is .php
[i]Originally posted by hammerslane [/i]Why? Surly there must be a better way...?
[B]i have about 55 iframes on a page[/B][/QUOTE]
[i]Originally posted by pyro [/i]? i hope there is... although i've spent 2 hours getting it to work that way...
[B]Why? Surly there must be a better way...? [/B][/QUOTE]
[code=php]
<table width="100%" height="100%" border="1" cellpadding="0" cellspacing="0" bordercolor=black>
<tr>
<td width=5 % align=center>
<iframe height=100% width=100% src="main.php?link=www.fff.co.uk#bottom">
</iframe> </td>
<td width=5 % align=center>
<iframe height=100% width=100% src="main.php?link=www.ddd.co.uk#bottom">
</iframe> </td>
<td width=5 % align=center>
<iframe height=100% width=100% src="main.php?link=www.sss.co.uk#bottom">
</iframe> </td>
<td width=5 % align=center>
<iframe height=100% width=100% src="main.php?link=www.eee.co.uk#bottom">
</iframe> </td>
<td width=5 % align=center>
<iframe height=100% width=100% src="main.php?link=www.eliams.co.uk#bottom">
</iframe> </td>
<td width=5 % align=center>
<iframe height=100% width=100% src="main.php?link=www.kio.co.uk#bottom">
</iframe> </td>
</tr>
<tr>
<td width=5 % align=center>
<iframe height=100% width=100% src="main.php?link=www.bdsfsdfc.co.uk#bottom">
</iframe> </td>
<td width=5 % align=center>
<iframe height=100% width=100% src="main.php?link=www.example.co.uk#bottom">
</iframe> </td>
<td width=5 % align=center>
<iframe height=100% width=100% src="main.php?link=www.nih.co.uk#bottom">
</iframe> </td>
<td width=5 % align=center>
<iframe height=100% width=100% src="main.php?link=www.accations.co.uk#bottom">
</iframe> </td>
<td width=5 % align=center>
<iframe height=100% width=100% src="main.php?link=www.lycs.co.uk#bottom">
</iframe> </td>
<td width=5 % align=center>
<iframe height=100% width=100% src="main.php?link=www.alls.co.uk#bottom">
</iframe> </td>
</tr>
<tr>
<td width=5 % align=center>
<iframe height=100% width=100% src="main.php?link=www.apl.co.uk#bottom">
</iframe> </td><td width=5 % align=center>
<iframe height=100% width=100% src="main.php?link=www.avno.com#bottom">
</iframe> </td><td width=5 % align=center>
<iframe height=100% width=100% src="main.php?link=www.ba.co.uk#bottom">
</iframe> </td><td width=5 % align=center>
<iframe height=100% width=100% src="main.php?link=www.bestate.co.uk#bottom">
</iframe> </td><td width=5 % align=center>
<iframe height=100% width=100% src="main.php?link=www.bes.co.uk#bottom">
</iframe> </td><td width=5 % align=center>
<iframe height=100% width=100% src="main.php?link=www.care.co.uk#bottom">
</iframe> </td></tr>
<tr>
<td width=5 % align=center>
<iframe height=100% width=100% src="main.php?link=www.briy.co.uk#bottom">
</iframe> </td><td width=5 % align=center>
<iframe height=100% width=100% src="main.php?link=frei.co.uk#bottom">
</iframe> </td><td width=5 % align=center>
<iframe height=100% width=100% src="main.php?link=pays.ii.co.uk#bottom">
</iframe> </td><td width=5 % align=center>
<iframe height=100% width=100% src="main.php?link=www.dign.co.uk#bottom">
</iframe> </td><td width=5 % align=center>
<iframe height=100% width=100% src="main.php?link=www.eliams.com#bottom">
</iframe> </td><td width=5 % align=center>
<iframe height=100% width=100% src="main.php?link=www.foters.co.uk#bottom">
</iframe> </td></tr>
<tr>
<td width=5 % align=center>
<iframe height=100% width=100% src="main.php?link=www.frei.co.uk#bottom">
</iframe> </td><td width=5 % align=center>
<iframe height=100% width=100% src="main.php?link=www.frew.co.uk#bottom">
</iframe> </td><td width=5 % align=center>
<iframe height=100% width=100% src="main.php?link=www.furre.co.uk#bottom">
</iframe> </td><td width=5 % align=center>
<iframe height=100% width=100% src="main.php?link=www.glas-uk#bottom">
</iframe> </td><td width=5 % align=center>
<iframe height=100% width=100% src="main.php?link=www.globatair.com#bottom">
</iframe> </td><td width=5 % align=center>
<iframe height=100% width=100% src="main.php?link=www.globaement.co.uk#bottom">
</iframe> </td></tr>
<tr>
<td width=5 % align=center>
<iframe height=100% width=100% src="main.php?link=www.goddes.com#bottom">
</iframe> </td><td width=5 % align=center>
<iframe height=100% width=100% src="main.php?link=www.henry-hughes.co.uk#bottom">
</iframe> </td><td width=5 % align=center>
<iframe height=100% width=100% src="main.php?link=www.ifscfc.o#bottom">
</iframe> </td><td width=5 % align=center>
<iframe height=100% width=100% src="main.php?link=www.ioup.com#bottom">
</iframe> </td><td width=5 % align=center>
<iframe height=100% width=100% src="main.php?link=www.ic.com#bottom">
</iframe> </td><td width=5 % align=center>
<iframe height=100% width=100% src="main.php?link=www.ibc.net#bottom">
</iframe> </td>
</tr>
<tr>
<td width=5 % align=center>
<iframe height=100% width=100% src="main.php?link=www.icc.net#bottom">
</iframe> </td><td width=5 % align=center>
<iframe height=100% width=100% src="main.php?link=www.inance.com#bottom">
</iframe> </td><td width=5 % align=center>
<iframe height=100% width=100% src="main.php?link=www.ircles.com#bottom">
</iframe> </td><td width=5 % align=center>
<iframe height=100% width=100% src="main.php?link=www.j.co.uk#bottom">
</iframe> </td><td width=5 % align=center>
<iframe height=100% width=100% src="main.php?link=www.lgs.co.uk#bottom">
</iframe> </td><td width=5 % align=center>
<iframe height=100% width=100% src="main.php?link=www.faircentral.co.uk#bottom">
</iframe> </td>
</tr>
<tr>
<td width=5 % align=center>
<iframe height=100% width=100% src="main.php?link=www.ent.com#bottom">
</iframe> </td><td width=5 % align=center>
<iframe height=100% width=100% src="main.php?link=www.esample.co.uk#bottom">
</iframe> </td><td width=5 % align=center>
<iframe height=100% width=100% src="main.php?link=www.tion.co.uk#bottom">
</iframe> </td><td width=5 % align=center>
<iframe height=100% width=100% src="main.php?link=www.ation.co.uk#bottom">
</iframe> </td><td width=5 % align=center>
<iframe height=100% width=100% src="main.php?link=www.ration.com#bottom">
</iframe> </td><td width=5 % align=center>
<iframe height=100% width=100% src="main.php?link=www.eration.com#bottom">
</iframe> </td>
</tr>
<tr>
<td width=5 % align=center>
<iframe height=100% width=100% src="main.php?link=www.nmichel.com#bottom">
</iframe> </td><td width=5 % align=center>
<iframe height=100% width=100% src="main.php?link=www.f.org#bottom">
</iframe> </td><td width=5 % align=center>
<iframe height=100% width=100% src="main.php?link=www.i.nl#bottom">
</iframe> </td><td width=5 % align=center>
<iframe height=100% width=100% src="main.php?link=www.ton.co.uk#bottom">
</iframe> </td><td width=5 % align=center>
<iframe height=100% width=100% src="main.php?link=www.oo.com#bottom">
</iframe> </td><td width=5 % align=center>
<iframe height=100% width=100% src="main.php?link=www.oogle.com#bottom">
</iframe> </td>
</tr>
<tr>
<td width=5 % align=center>
<iframe height=100% width=100% src="main.php?link=www.re.co.uk#bottom">
</iframe> </td><td width=5 % align=center>
<iframe height=100% width=100% src="main.php?link=www.nce.co.uk#bottom">
</iframe> </td><td width=5 % align=center>
<iframe height=100% width=100% src="main.php?link=www.iph.co.uk#bottom">
</iframe> </td><td width=5 % align=center>
<iframe height=100% width=100% src="main.php?link=www.aster.co.uk#bottom">
</iframe> </td><td width=5 % align=center>
<iframe height=100% width=100% src="main.php?link=www.mple.com#bottom">
</iframe> </td><td width=5 % align=center>
<iframe height=100% width=100% src="main.php?link=www.e.co.uk#bottom">
</iframe> </td>
</tr>
<tr>
<td width=5 % align=center>
<iframe height=100% width=100% src="main.php?link=www.ddster-shop.co.uk#bottom">
</iframe> </td><td width=5 % align=center>
<iframe height=100% width=100% src="main.php?link=www.sesssfdfse.co.uk#bottom">
</iframe> </td><td width=5 % align=center>
<iframe height=100% width=100% src="main.php?link=www.siplysdfsdfone.biz#bottom">
</iframe> </td><td width=5 % align=center>
<iframe height=100% width=100% src="main.php?link=www.thweweny.co.uk#bottom">
</iframe> </td><td width=5 % align=center>
</td><td width=5 % align=center>
</td>
</tr>
</table>
[/code]
[code=php]
<?php
$urls = file("myurls.txt");
for($x = 0; $x < count($urls); $x++)
{
$goto = str_replace("rn", "", $urls[$x]);
$fp = fopen($goto, "r");
if(!$fp) echo $goto . " is down.<br>n";
else fclose($fp);
}
echo "Done.";
?>[/code]
[code=php]<?
function chkuri($link){
$churl = @fopen("http://".$link,'r');
if (!$churl) {
$message="site link <b>http://$link <font color="red"> is down!!</font></b><br><br>n";
mail("[email protected]", "$link is down!! #LID", "$link went down!");
}else{
$message="site link <a href="http://$link" target=_blank><b>http://$link</b></a> OK!<br>";
}
return $message;
}
function ping($link){
$packs=5;
for ($tt=0;$tt<=$packs;$tt++){
$a=getmstime();
$churl = @fsockopen(server($link), 80, &$errno, &$errstr, 20);
$b=getmstime();
if (!$churl){
$teim="down!!"; break;
}
$teim=$teim+round(($b-$a)*1000);
@fclose($churl);
}
if ($teim=="down!!"){}else{if(($teim/$packs)<3){$teim="<3 ms";}else{$teim=($teim/$packs)." ms";}}
return $teim;
}
function server($link){
if(strstr($link,"/")){$link = substr($link, 0, strpos($link, "/"));}
return $link;
}
function getmstime(){
return (substr(microtime(),11,9)+substr(microtime(),0,10));
}
function correcturl($link){
return str_replace("http://","",strtolower($link));
}
function selfnam(){
global $PHP_SELF;
return basename($PHP_SELF);
}
$link=correcturl($link);
echo "ping server <b>http://".server($link)." (".ping($link).")</b><br>";
echo chkuri($link);
echo "<form action=".selfnam()." method=get>";
echo "http://<input type=input name=link value="$link" size=60>";
echo "<input type=submit name=check value=check>";
echo "</form>";
?>[/code]
is what i have. on the parent frame, [as my code a few posts ago illustrates], i pass the $link url variable over. the script actually works. except only on the 10 first frames.[code=php]$message="site link <b><a href="http://" target="_blank">http://</a>$link <font color="red"> is down!!</font></b><br><br>n";[/code]
[code=php]$message="site link <a href="http://$link" target=_blank><b><a href="http://" target="_blank">http://</a>$link</b></a> OK!<br>";
[/code]
[code=php]echo "ping server <b><a href="http://" target="_blank">http://</a>".server($link)." (".ping($link).")</b><br>";
[/code]
Notice: Undefined variable: teim in \hostnamepathtopingscript.php on line 23
ping server <a href="http://www.example.com">http://www.example.com</a> (47.4 ms)
[code=php]$teim=$teim+round(($b-$a)*1000);[/code]
Warning: fopen(<a href="http://www.example.com">http://www.example.com</a>) [function.fopen]: failed to create stream: HTTP request failed! VMöw in \hostSharedWebintranetpingping.php on line 7
Fatal error: Maximum execution time of 30 seconds exceeded in \hostSharedWebintranetpingping.php on line 7
[code=php] $fp = fopen($goto, "r");[/code]
0.1.9 — BETA 6.17