Ist es möglich einen Posting Countdown zumachen , welcher die Tage anzeigt bis zu meinem 1000Post? Wenn ja, könnte mir einer so ein Script erstellen? Dennis
--«Wir können alles schaffen, wir brauchen nur genug dressierte Affen» - infinite monkey theorem
Meinst du sowas? Das Script ruft deine Profilseite auf und wertet sie dann aus. Quellcode: PHP-Code: <?php $h = file('http://forum.rpg-ring.com/forum/member.php?s=&action=getinfo&userid=4739'); for ($anz = count($h), $i = 0; $i < $anz; $i++) if (strstr($h[$i], 'helvetica" size="2"><b>Beiträge:')) { $i++; $buf = strstr($h[$i], '"2">'); $buf = substr($buf, 4); $buf = explode(' ', $buf); $currentposts = $buf[0]; $daylyposts = substr($buf[1], 1); break; } if ($currentposts == 0) { print ('Fehler'); return; } $buf = explode('.', $daylyposts); $daylyposts = $buf[0] + $buf[1] / 100; print ('dennis_meckel hat derzeit ' . (int)($currentposts) . ' Postingpunte. Bei ' . $daylyposts . ' Posts pro Tag wird er in ' . (1000 - $currentposts) / $daylyposts . ' Tagen 1000 Posts besitzen.'); ?> Ich hoffe, das war, was du wolltest.
<?php $h = file('http://forum.rpg-ring.com/forum/member.php?s=&action=getinfo&userid=4739'); for ($anz = count($h), $i = 0; $i < $anz; $i++) if (strstr($h[$i], 'helvetica" size="2"><b>Beiträge:')) { $i++; $buf = strstr($h[$i], '"2">'); $buf = substr($buf, 4); $buf = explode(' ', $buf); $currentposts = $buf[0]; $daylyposts = substr($buf[1], 1); break; } if ($currentposts == 0) { print ('Fehler'); return; } $buf = explode('.', $daylyposts); $daylyposts = $buf[0] + $buf[1] / 100; print ('dennis_meckel hat derzeit ' . (int)($currentposts) . ' Postingpunte. Bei ' . $daylyposts . ' Posts pro Tag wird er in ' . (1000 - $currentposts) / $daylyposts . ' Tagen 1000 Posts besitzen.'); ?>
--Auf meiner Homepage gibt es unter anderem ein PHP-Tutorial!Was man mit CSS alles anstellen kann Opera rulez! opera.com - opera-info.de - Opera- Skins, Banner, Einstellungen und vieles mehr -- Windows 9x/ME A thirty-two bit extension and GUI shell to a sixteen bit patch to an eight bit operating system originally coded for a four bit microprocessor and sold by a two-bit company that can't stand one bit of competition.
Wollte nur: 192 post remaining Aber das von dir ist stylisher
Foren-Regeln