Warnung: file_put_contents(/home/www/web1/html/php_dev/test.txt) [function.file-put-contents]: failed to open stream: Permission denied in /home/www/web1/html/php_dev/sys/lib.activity.php (Zeile 58)
Script zum Auslesen des Traffics? [Archiv] - PHP-Scripte PHP-Tutorials PHP-Jobs und vieles mehr

- Ad -
php-resource




Archiv verlassen und diese Seite im Standarddesign anzeigen :
Script zum Auslesen des Traffics?


 
Cornholio77
16-01-2006, 20:03 
 
Hallo Leute,
da ich nur sehr begrenzt Ahnung im Programmieren von Scripten habe :dontknow: , hoffe ich das Ihr mir bei meinem Problem helfen könnt.

Ich benötige ein Script, welches den aktuellen Traffic (unten die 27,259.56) meiner Internetverbindung von der Kostenstandswebseite meines Providers ausliest um diesen dann mit Samurize darzustellen. Der Quelltext der Seite sieht wie folgt aus:


<HTML>
<HEAD>

<STYLE TYPE="text/css">
a:link { font-family: "arial"; color: #3333ff; text-decoration: none}
a:active { font-family: "arial"; color: #d34364; text-decoration: underline}
a:visited { font-family: "arial"; color: #3333ff; text-decoration: none}
a:hover { font-family: "arial"; color: #3333ff; text-decoration: underline}

.head {font-family: arial;font-weight: bold;font-size : 9pt ;color:#212116}
.head2 {font-family: arial;font-weight: bold;font-size : 9pt ;color:#212116}
.info {font-family: arial;font-weight: normal;font-size : 9pt;}
.text { font-family: arial; font-weight: normal; font-size : 9pt ;color:#212116}
.default { font-family: verdana, arial; font-weight: normal; font-size : 9pt ;line-height:13pt}
.boardlist {font-family: arial;font-weight: normal;font-size: 9pt ; color:#212116}
.title {font-family: Arial;font-weight: bold; font-size: 13pt; color: black;}
.time {font-weight: normal; font-size: 8pt;color:#212116}

TD.desc {
background-color: #95bdf1;
}
</STYLE>
</HEAD>

<BODY>

<TABLE BORDER=0 CELLSPACING=0 CELLPADDING=3 WIDTH=100% HEIGHT=48 BACKGROUND="bg-table1.gif">
<TR>
<TD ALIGN="left"><DIV CLASS="title"><FONT COLOR="black" SIZE=3>Downloadvolumen / Kostenstand</font></DIV></TD>
<TD ALIGN="right"><FONT FACE="Verdana, Arial, Helvetica" COLOR="black" SIZE=2>
<!-- Ihre pers&ouml;nliche Oberfl&auml;che bei mdcc-fun.de ... -->
&nbsp;</TD>
</TR>
</TABLE>

<br><br>

<div>
<font size="2" face="arial">Der Kostenstand zum aktuellen Rechnungszeitraum, d.h. f&uuml;r den noch keine Rechnung gestellt wurde, kann immer von Ihnen &uuml;berpr&uuml;ft werden.</font>
<br><br>
<center>
<font size="2" face="arial">
<b>13.01.2006 23:46:53
</b>
</font>
</center>
<br>
<center>
<table border="0" cellpadding="4" cellspacing="5" width="80%">
<tr>
<td class="desc" width="30%" bgcolor="silver"><font size="2" face="arial">Name, Firma:</font></td>
<td><font size="2" face="arial">Name des Kunden</font></td>

</tr>
<tr>
<td class="desc" width="30%" bgcolor="silver"><font size="2" face="arial">E-Mail:</font></td>
<td><font size="2" face="arial"></font></td>
</tr>
<!--
<tr>
<td class="desc" width="30%" bgcolor="silver"><font size="2" face="arial">Kundennummer:</font></td>
<td><font size="2" face="arial">Kundennummer</font></td>
</tr>
-->
</table>
</center>
<br>

<center>
<table border="0" cellpadding="4" cellspacing="5" width="80%">

<tr>
<td colspan="4">
&nbsp </td>
</tr>
<tr>
<td class="desc" width="30%" bgcolor="silver">
<font size="2" face="arial">Produkt:</font></td>
<td colspan="3">
<font size="2" face="arial">
Name des Tarifs </font>
</td>
</tr>

<tr>
<td class="desc" bgcolor="silver">
<font size="2" face="arial">Beschreibung (MB)</font>
</td>
<td class="desc" bgcolor="silver">
<font size="2" face="arial">Gesamt seit 01.01.2006</font>
</td>
<td class="desc" bgcolor="silver">
<font size="2" face="arial">Volumen</font>
</td>
<td class="desc" bgcolor="silver">
<font size="2" face="arial">Kosten in EUR</font>
</td>
</tr>
<tr>
<td>
<font size="2" face="arial">
<script>var prodDescription='Connectivity';</script>
<script>var chargeDescription='Name des Tarifs';</script>
<script>var timezone='';</script>
<script>var since='MDEuMDEuMjAwNg==';</script>
<script>
document.write("<a href='"+(prodDescription=="Connectivity"?"con_":"")+"monthlyDetail.html?charge="+prodDescription+"&chargeinfo="+chargeDescription+"&timezone="+timezone+"&since="+since+"'>"+(prodDescription=="Connectivity"?"Datentransfer (MB)":prodDescription)+"</a>");
</script>
</font>
</td>
<td align="right">
<font size="2" face="arial">
27,259.56 </font>
</td>
<td align="right">
<font size="2" face="arial">
27,259.56 </font>
</td>
<td align="right">
<font size="2" face="arial">
0.0000 </font>
</td>
<td>
</tr>
<tr>


Rest wurde abgeschnitten!

Wäre schön wenn Ihr mir da helfen könntet!

bye
Cornholio77

:danke:

- -

Alle Zeitangaben in WEZ +2. Es ist jetzt 20:22 Uhr.