Wauzy
01.10.2003, 09:08:46
Hallo
Ich habe folgendes Problem:
Ich möchte gerne aus einer Seite wo bestimmte Statistiken stehen genau diese Auslesen und halt nur diese.
Normalerweise würde ich das mit file(url.php) machen, dann hätte ich schon mal jede Zeile einzelnd in einem Array.
Ich brauche nun aber nur ein paar bestimmte Zeilen, ich markiere die hier in dem Quelltext mal. ( Ist natürlich nur ein Ausschnitt, der ganze Quelltext ist viel größer, so das eine begrenzung der Suche auch ganz gut wäre da nachdem die Info gefunden wurde ja nicht weiter gesucht werden muß)
<tr>
<td width="50%"><font face="Verdana" size="2"><b>Anzahl der Mitglieder:</b></font></td>
<td width="50%"><font face="Verdana" size="2">15</font></td>
</tr>
<tr>
<td width="50%"><b><font face="Verdana" size="2">Homepage:</font></b></td>
<td width="50%"><a target="_blank" href="http://fkk-clan.com"><font face="Verdana" size="2">http://fkk-clan.com</font></a></td>
</tr>
<tr>
<tr>
<td width="50%"><b><font face="Verdana" size="2">IRC Channel: </font> </b></td>
<td width="50%"><font face="Verdana" size="2"></font></td>
</tr>
<tr>
<td width="50%"><b><font face="Verdana" size="2">IRC Server: </font> </b></td>
<td width="50%"><font face="Verdana" size="2"></font></td>
</tr>
<tr>
<td width="50%"><b><font face="Verdana" size="2">Clan Server: </font> </b></td>
<td width="50%"><font face="Verdana" size="2">195.4.17.205:1716</font></td>
</tr>
</table>
<hr width="100%" color="374646" noShade SIZE="1">
<table cellpadding="0" cellspacing="0" width="100%">
<tr>
<td width="50%"><font face="Verdana" size="2"><b>Herkunftsland:</b></font></td>
<td width="50%"><font face="Verdana" size="2">Deutschland</font></td>
</tr>
</table>
<hr width="100%" color="374646" noShade SIZE="1">
<table cellpadding="0" cellspacing="0" width="100%">
<tr>
-------------------------------------------------<Von hier aus>------------
<td width="50%"><font face="Verdana" size="2"><b>Aktuelle Punkteanzahl:</b></font></td>
<td width="50%"><font face="Verdana" size="2">22</font></td>
</tr>
<tr>
<td width="50%"><font face="Verdana" size="2"><b>Gewonnene Clan Wars:</b></font></td>
<td width="50%"><font face="Verdana" size="2">11</font></td>
</tr>
<tr>
<td width="50%"><font face="Verdana" size="2"><b>Unentschiedene Clan Wars:</b></font></td>
<td width="50%"><font face="Verdana" size="2">4</font></td>
</tr>
<tr>
<td width="50%"><font face="Verdana" size="2"><b>Verlorene Clan Wars:</b></font></td>
<td width="50%"><font face="Verdana" size="2">12</font></td>
</tr>
<tr>
<td width="50%"><font face="Verdana" size="2"><b>ROE Punkte:</b></font></td>
<td width="50%"><font face="Verdana" size="2">0</font></td>
</tr>
-----------------------<bis hier>--------------------------------------------
<tr>
<td width="50%"><font face="Verdana" size="2"><b>Clan Bewertung:</b></font></td>
<td width="50%"><font face="Verdana" size="2">
<p><table cellpadding=1 cellspacing=0 border=0>
<tr>
<td>
<table cellpadding=0 cellspacing=0 border=0 bgcolor="000000" width="171">
<tr>
Irgendwelche Ideen wie ich die Informationen raus filtern kann?
MFG
Wauzy
Ich habe folgendes Problem:
Ich möchte gerne aus einer Seite wo bestimmte Statistiken stehen genau diese Auslesen und halt nur diese.
Normalerweise würde ich das mit file(url.php) machen, dann hätte ich schon mal jede Zeile einzelnd in einem Array.
Ich brauche nun aber nur ein paar bestimmte Zeilen, ich markiere die hier in dem Quelltext mal. ( Ist natürlich nur ein Ausschnitt, der ganze Quelltext ist viel größer, so das eine begrenzung der Suche auch ganz gut wäre da nachdem die Info gefunden wurde ja nicht weiter gesucht werden muß)
<tr>
<td width="50%"><font face="Verdana" size="2"><b>Anzahl der Mitglieder:</b></font></td>
<td width="50%"><font face="Verdana" size="2">15</font></td>
</tr>
<tr>
<td width="50%"><b><font face="Verdana" size="2">Homepage:</font></b></td>
<td width="50%"><a target="_blank" href="http://fkk-clan.com"><font face="Verdana" size="2">http://fkk-clan.com</font></a></td>
</tr>
<tr>
<tr>
<td width="50%"><b><font face="Verdana" size="2">IRC Channel: </font> </b></td>
<td width="50%"><font face="Verdana" size="2"></font></td>
</tr>
<tr>
<td width="50%"><b><font face="Verdana" size="2">IRC Server: </font> </b></td>
<td width="50%"><font face="Verdana" size="2"></font></td>
</tr>
<tr>
<td width="50%"><b><font face="Verdana" size="2">Clan Server: </font> </b></td>
<td width="50%"><font face="Verdana" size="2">195.4.17.205:1716</font></td>
</tr>
</table>
<hr width="100%" color="374646" noShade SIZE="1">
<table cellpadding="0" cellspacing="0" width="100%">
<tr>
<td width="50%"><font face="Verdana" size="2"><b>Herkunftsland:</b></font></td>
<td width="50%"><font face="Verdana" size="2">Deutschland</font></td>
</tr>
</table>
<hr width="100%" color="374646" noShade SIZE="1">
<table cellpadding="0" cellspacing="0" width="100%">
<tr>
-------------------------------------------------<Von hier aus>------------
<td width="50%"><font face="Verdana" size="2"><b>Aktuelle Punkteanzahl:</b></font></td>
<td width="50%"><font face="Verdana" size="2">22</font></td>
</tr>
<tr>
<td width="50%"><font face="Verdana" size="2"><b>Gewonnene Clan Wars:</b></font></td>
<td width="50%"><font face="Verdana" size="2">11</font></td>
</tr>
<tr>
<td width="50%"><font face="Verdana" size="2"><b>Unentschiedene Clan Wars:</b></font></td>
<td width="50%"><font face="Verdana" size="2">4</font></td>
</tr>
<tr>
<td width="50%"><font face="Verdana" size="2"><b>Verlorene Clan Wars:</b></font></td>
<td width="50%"><font face="Verdana" size="2">12</font></td>
</tr>
<tr>
<td width="50%"><font face="Verdana" size="2"><b>ROE Punkte:</b></font></td>
<td width="50%"><font face="Verdana" size="2">0</font></td>
</tr>
-----------------------<bis hier>--------------------------------------------
<tr>
<td width="50%"><font face="Verdana" size="2"><b>Clan Bewertung:</b></font></td>
<td width="50%"><font face="Verdana" size="2">
<p><table cellpadding=1 cellspacing=0 border=0>
<tr>
<td>
<table cellpadding=0 cellspacing=0 border=0 bgcolor="000000" width="171">
<tr>
Irgendwelche Ideen wie ich die Informationen raus filtern kann?
MFG
Wauzy