Burning
hallo zusammen
kann mir einer erklären, oder mir einen link schicken wo eine anleitung ist für Pb proofs auf der hp zu verlinken finde

für linux) denn muss ich mir nicht immer die mühe machen und sämtliche screens runter zu saugen.
thx
Kelli
Oink?
Was sind "Pb proofs"? Die Screenshots?
Code angehängt. Klicke hier zum Ein-/Ausblenden
| code: |
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15:
16:
17:
18:
19:
20:
21:
22:
23:
24:
25:
26:
27:
28:
29:
30:
31:
32:
33:
34:
35:
36:
37:
38:
39:
40:
41:
42:
43:
44:
45:
46:
47:
|
<?php echo"<?xml version=\"1.0\" encoding=\"iso-8859-1\"?>\n"; ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>No Cheats!</title>
<meta name="robots" content="noindex, nofollow" />
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
</head>
<body>
<strong>Die letzten 50 Punkbuster Screenshots des ANS Server</strong>
<?PHP
$dirpath = "./svss/";
$dir = opendir($dirpath);
$files = array();
$endung = array('png');
$limit = 50;
while ($file = readdir($dir)) {
$localpath = $dirpath.$file;
if (($file != ".") && ($file != ".."))
{
if (in_array(substr($file, -3), $endung))
{
if (is_file($localpath)) {
$key = filemtime($localpath).md5($file);
$files[$key] = $file;
}
}
}
}
ksort($files);
$files = array_reverse($files);
$i=0;
echo "<a href=\"/svss/pbsvss.htm\">Alle verfuegbaren durchsuchen</a><BR />\n";
echo "<strong>Powered by PBSS Auto Gamma Correction Viewer</strong><BR />\n";
foreach ($files as $file) {
$i++;
if ($i > $limit)
{
break;
}
echo "<embed src=\"./svss/" .$file. " \" width=\"800\" height=\"400\" gamma=\"1.99\" image=\"./svss/" .$file. " \" pluginspage=\"http://www.aliasfinder.co.uk/PBSS/nppbss.dll\" type=\"application/x-png-pbss\"></embed><BR />\n";
echo "<a href=\"http://www.aliasfinder.co.uk/PBSS/\" target=\"_blank\">get the Plugin here</a><BR />\n";
}
?>
</body>
|
|
Hier mit dem pbss Viewer - einmal weil es so schön bequem ist und zum anderem weil robots und crawler daran im Normalfall scheitern. Limit gibt an wieviele - Vorsicht: zu hoher Wert lässt den Browser ordentlich schwitzen.
Allerdings musst du selber sehen wie du deinen Webserver auf das Spielverzeichniss/pb/svss zugreifen lässt. Eine einfache - aber unsichere Methode ist:
ln -s /pfadzucod/pb/svss /pfadzuwww/OrdnerfürScreenshots
im Apache muss für dieses Verzeichnis Options FollowSymLinks erlaubt sein.
Schöner ist eine Batchdatei laufen lassen die die logs in das www Verzeichnis kopiert - dann ist es aber nicht mehr ganz so live.
Muster hxxp://www.internationaloldstars.de/pb/