Suche auf lima-city
-
in: Counter
geschrieben von happyheiko
Ich hatte zuerst die dateiendung *.html
Wenn ich nun die datei starte
<html>
<head>
<title>artmedic counter beispielseite</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<body>
<?PHP
include("counter.php");
?>
</body>
</html>
Dann kommen ein haufen fehler...
Warning: fopen(): Unable to access artmedic_counter/countime.txt in /home/webpages/lima-city/happyheiko/html/html/artmedic_counter/counter.php on line 14
Warning: fopen(artmedic_counter/countime.txt): failed to open stream: No such file or directory in /home/webpages/lima-city/happyheiko/html/html/artmedic_counter/counter.php on line 14
Warning: filesize(): Stat failed for artmedic_counter/countime.txt (errno=2 - No such file or directory) in /home/webpages/lima-city/happyheiko/html/html/artmedic_counter/counter.php on line 15
Warning: fread(): supplied argument is not a valid stream resource in /home/webpages/lima-city/happyheiko/html/html/artmedic_counter/counter.php on line 15
Warning: fclose(): supplied argument is not a valid stream resource in /home/webpages/lima-city/happyheiko/html/html/artmedic_counter/counter.php on line 16
Warning: fopen(artmedic_counter/countip.txt): failed to open stream: No such file or directory in /home/webpages/lima-city/happyheiko/html/html/artmedic_counter/counter.php on line 19
Warning: fclose(): supplied argument is not a valid stream resource in /home/webpages/lima-city/happyheiko/html/html/artmedic_counter/counter.php on line 20
Warning: fopen(artmedic_counter/countime.txt): failed to open stream: No such file or directory in /home/webpages/lima-city/happyheiko/html/html/artmedic_counter/counter.php on line 21
Warning: flock(): supplied argument is not a valid stream resource in /home/webpages/lima-city/happyheiko/html/html/artmedic_counter/counter.php on line 22
Warning: fputs(): supplied argument is not a valid stream resource in /home/webpages/lima-city/happyheiko/html/html/artmedic_counter/counter.php on line 23
Warning: flock(): supplied argument is not a valid stream resource in /home/webpages/lima-city/happyheiko/html/html/artmedic_counter/counter.php on line 24
Warning: fclose(): supplied argument is not a valid stream resource in /home/webpages/lima-city/happyheiko/html/html/artmedic_counter/counter.php on line 25
Warning: file(): Unable to access artmedic_counter/countip.txt in /home/webpages/lima-city/happyheiko/html/html/artmedic_counter/counter.php on line 28
Warning: file(artmedic_counter/countip.txt): failed to open stream: No such file or directory in /home/webpages/lima-city/happyheiko/html/html/artmedic_counter/counter.php on line 28
Warning: Variable passed to each() is not an array or object in /home/webpages/lima-city/happyheiko/html/html/artmedic_counter/counter.php on line 29
Warning: fopen(artmedic_counter/countip.txt): failed to open stream: No such file or directory in /home/webpages/lima-city/happyheiko/html/html/artmedic_counter/counter.php on line 35
Warning: fputs(): supplied argument is not a valid stream resource in /home/webpages/lima-city/happyheiko/html/html/artmedic_counter/counter.php on line 37
Warning: fclose(): supplied argument is not a valid stream resource in /home/webpages/lima-city/happyheiko/html/html/artmedic_counter/counter.php on line 39
Warning: fopen(): Unable to access artmedic_counter/countdaten.txt in /home/webpages/lima-city/happyheiko/html/html/artmedic_counter/counter.php on line 40
Warning: fopen(artmedic_counter/countdaten.txt): failed to open stream: No such file or directory in /home/webpages/lima-city/happyheiko/html/html/artmedic_counter/counter.php on line 40
Warning: filesize(): Stat failed for artmedic_counter/countdaten.txt (errno=2 - No such file or directory) in /home/webpages/lima-city/happyheiko/html/html/artmedic_counter/counter.php on line 41
Warning: fread(): supplied argument is not a valid stream resource in /home/webpages/lima-city/happyheiko/html/html/artmedic_counter/counter.php on line 41
Warning: fclose(): supplied argument is not a valid stream resource in /home/webpages/lima-city/happyheiko/html/html/artmedic_counter/counter.php on line 42
Warning: fopen(artmedic_counter/countdaten.txt): failed to open stream: No such file or directory in /home/webpages/lima-city/happyheiko/html/html/artmedic_counter/counter.php on line 44
Warning: flock(): supplied argument is not a valid stream resource in /home/webpages/lima-city/happyheiko/html/html/artmedic_counter/counter.php on line 45
Warning: fputs(): supplied argument is not a valid stream resource in /home/webpages/lima-city/happyheiko/html/html/artmedic_counter/counter.php on line 46
Warning: flock(): supplied argument is not a valid stream resource in /home/webpages/lima-city/happyheiko/html/html/artmedic_counter/counter.php on line 47
Warning: fclose(): supplied argument is not a valid stream resource in /home/webpages/lima-city/happyheiko/html/html/artmedic_counter/counter.php on line 48
Warning: fopen(): Unable to access artmedic_counter/countdaten.txt in /home/webpages/lima-city/happyheiko/html/html/artmedic_counter/counter.php on line 50
Warning: fopen(artmedic_counter/countdaten.txt): failed to open stream: No such file or directory in /home/webpages/lima-city/happyheiko/html/html/artmedic_counter/counter.php on line 50
Warning: filesize(): Stat failed for artmedic_counter/countdaten.txt (errno=2 - No such file or directory) in /home/webpages/lima-city/happyheiko/html/html/artmedic_counter/counter.php on line 51
Warning: fread(): supplied argument is not a valid stream resource in /home/webpages/lima-city/happyheiko/html/html/artmedic_counter/counter.php on line 51
MFG
Happyheiko -
in: Counter
geschrieben von happyheiko
Hallo!^^
Also ich hab jetz mal die chmod ignoriert.Ist der Quelltext zum anzeigen des counters hier in ordnung?
<html>
<head>
<title>artmedic counter beispielseite</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<body>
<?PHP
include("counter.php");
?>
</body>
</html>
Denn es tut sich nix wenn ich diese Seite starte. Hier ist der PHP-Quelltext:
<?PHP
//-------------------------------------------------------------
// artmedic counter 1.0 || http://www.artmedic.de
// Copyright (C) 2002 Ellen Baitinger, artmedic webdesign
//-------------------------------------------------------------
require("counterinc.php");
$time = time();
$ip = getenv("REMOTE_ADDR");
$ablaufzeit = "$time"+"$timereset";
$timefile = "$dir$timefile";
$daten = "$dir$daten";
$counts = "$dir$counts";
$timedaten = fopen($timefile, "r");
$contents = fread($timedaten, filesize($timefile));
fclose($timedaten);
if($time >= $contents)
{
$fp = fopen($daten, "w+");
fclose($fp);
$timedaten = fopen($timefile, "w+");
flock($timedaten,2);
fputs ($timedaten, "$ablaufzeit");
flock($timedaten,3);
fclose($timedaten);
}
$ipdaten = file($daten);
while (list ($line_num, $line) = each ($ipdaten))
{
$ziffern = explode(",",$line);
}
if(@!in_array($ip, $ziffern))
{
$fh=fopen($daten, "a+");
@flock($fh,2);
fputs($fh, "$ip".",");
@flock($fh,3);
fclose($fh);
$countdaten = fopen( "$counts", "r" );
$contents = fread($countdaten, filesize($counts));
fclose($countdaten);
$contents++;
$countdaten = fopen($counts, "w+");
flock($countdaten,2);
fputs ($countdaten, $contents);
flock($countdaten,3);
fclose($countdaten);
}
$countdaten = fopen($counts, "r");
$contents = fread($countdaten, filesize($counts));
$contents = str_pad($contents, 5, "0", STR_PAD_LEFT);
echo "<table><tr><td><a href=\"http://www.artmedic.de\" target=\"_blank\"><img src=\"$dir";echo substr($contents, -5, 1);
echo "$imagetype\" border=\"0\" alt=\"counter by artmedic webdesign\">";
echo "<img src=\"$dir";echo substr("$contents", -4, 1);echo "$imagetype\" border=\"0\" alt=\"counter by artmedic webdesign\">";
echo "<img src=\"$dir";echo substr("$contents", -3, 1);echo "$imagetype\" border=\"0\" alt=\"counter by artmedic webdesign\">";
echo "<img src=\"$dir";echo substr("$contents", -2, 1);echo "$imagetype\" border=\"0\" alt=\"counter by artmedic webdesign\">";
echo "<img src=\"$dir";echo substr("$contents", -1, 1);echo "$imagetype\" border=\"0\" alt=\"counter by artmedic webdesign\"></a></td></tr>
</table>";
?> -
in: Counter
geschrieben von happyheiko
Also ge?ndert hat sich nix... WEnn aber es aber docvhh was bringen w?rde was m?sste ich dann bei
4. Geben Sie alle 3 Textdateien im Verzeichnis mit CHMOD 766 frei, damit das Script hineinschreiben kann.
eingeben?
MFG
Happyheiko
Beitrag ge?ndert am 26.09.2005 18:24 von happyheiko -
in: Counter
geschrieben von happyheiko
Hallo!^^
Ich habe ein Counter der aus einem PHP-Script besteht. Hier ist die Installdatei: http://happyheiko.pyrokar.lima-city.de/html/artmedic_counter/install.htm
Das Problem ist folgendes:
3. Geben Sie das Verzeichnis f?r den Schreib-, Lese- und Ausf?hrzugriff frei mit CHMOD 777
Wenn ich dies versuch kommt :
Dies ist kein g?ltiger, oktaler CHMOD (siehe: http://de.php.net/manual/de/function.chmod.php)
Das gleiche ist auch bei:
4. Geben Sie alle 3 Textdateien im Verzeichnis mit CHMOD 766 frei, damit das Script hineinschreiben kann.
Vielleicht kann mir jemand helfen.
MFG
Happyheiko -
in: Eine .wma Datei einbinden
geschrieben von happyheiko
Hallo^^
Das machs du mit dem <embed> tag.
Hier der HTML-code:
<html>
<head>
</head>
<body>
<embed src="Matrix_Ping_Pog.wmv">
</body>
</html>
der m?sste funktionieren...^^
MFG
Happyheiko
-
in: Wie Billiger wird Software wenn keine Raubkopirer da sind?
geschrieben von happyheiko
Hi Leutz!
Mich interreisiert manchmal wie billiger Software sein w?rde wenn Sie nicht andauernd kopiert werden w?rde.Denn es ist ja logisch durch das dass die Leute die Software kopieren bekommen die Firmen kein Geld mehr dann m?ssen Sie den Preos f?r die Orginal-Software erh?hen. Was glaubt ihr wie billiger Software w?re?
mfg. Happyheiko