Giriş
14 Ağustos 2008; 2:38:13
Bazı sitelerdeki avatarlara sayaç koyuyorlar. Bir kod kullanılıyormuş ama nasıl olduğunu bilen var mı acaba? Aynısını başka avatara nasıl uygulayabilirim? (Veya bunun gibi ufak karakterli ve daha güzel başka sayaç da olabilir. Ama ayrıntılı bilgi gerek.) Örnek:
_____________________________ Yukarıda yazılı olanlar tamamen hayal ürünü olup, gerçek kişi ya da olaylarla hiç bir ilgisi yoktur.
*
14 Ağustos 2008; 15:15:58
bu ne hakkında bir sayaç? yani resme tıklayanların mı sayacı yoksa ziyaretçi sayacı mı?
_____________________________ Yakında...
14 Ağustos 2008; 17:32:25
Resme tıklama değil. Sayfa ziyaretçi sayısı için.
_____________________________ Yukarıda yazılı olanlar tamamen hayal ürünü olup, gerçek kişi ya da olaylarla hiç bir ilgisi yoktur.
*
14 Ağustos 2008; 18:37:43
http://basicstat.com/vonline.php Şöyle bir site buldum ama ilgisi var mı çözemedim. Anlamıyorum ben kodlardan falan.
_____________________________ Yukarıda yazılı olanlar tamamen hayal ürünü olup, gerçek kişi ya da olaylarla hiç bir ilgisi yoktur.
*
14 Ağustos 2008; 20:49:28
senin bulduğunla verdiğin resimdeki yöntem farklı... ama sen o bulduğun sayaç sitesinden sayacı koyalarsın resmin hemen altına koyarsın kimse anlamaz
_____________________________Yorumlarınızı Bekliyorum!
15 Ağustos 2008; 18:43:49
resmin bulunduğu sayfaya sayaç koysan olmuyo mu ?
24 Ağustos 2008; 20:09:54
Güncel.
_____________________________ Yukarıda yazılı olanlar tamamen hayal ürünü olup, gerçek kişi ya da olaylarla hiç bir ilgisi yoktur.
*
24 Ağustos 2008; 22:44:52
resime sayac bilemiyorum ama arka planı resim olan bir tableye sayac eklebilirsin INDEX.php
<html>
<body>
<TITLE>Kod</TITLE>
<?php
include ("ayarlar.php");
?>
<center>
<TABLE BORDER="2" CELLSPACING="0" WIDTH="<?php echo "$uzunluk"; ?>" HEIGHT="<?php echo "$genislik"; ?>"
STYLE="background-image:
url('<?php echo "$resim"; ?>'); border:
2 ridge #800000">
<TR>
<TD>
<center>
<?
//Change settings below to sute your needs//
$countmulti = "no"; //Put "true" to count page refreshes or "no" to count only ips that are new//
$tcounter = "text"; //put "graphics" to use graphics, put "text" to use text//
$fontpath = "/home/vmist/public_html//fonts/TIMES.TTF"; // change this to the font path on your server if you are using graphics //
//Dont change anything below here //////
$ip = $_SERVER['REMOTE_ADDR'];
$file = file("webcounter.txt");
$count = sizeof($file);
if("$tcounter" == "text"){
echo"<table width=120 height=21 border=2 cellpadding=0 cellspacing=0 bordercolor=#9AA6B4 bgcolor=#DCE1E9>
<tr>
<td><center><strong>$count</strong></center></td>
</tr>
</table>";
}
$file = join($file);
$mystring = "$count";
$length = strlen($mystring);
$start = 0;
$output = array();
for($i = 0; $i < $length; $i++){
$output[$i] = $temp_output = substr($mystring, $start, 1);
$start++;
}
$toggle = strpos("$file", "$ip");
$ftinput = "$ip\n";
if("$countmulti" == "true"){
$fp = fopen("webcounter.txt","a+");
fputs($fp,$ftinput);
fclose($fp);
}
if("$toggle" == "" && "$countmulti" == "no"){
$fp = fopen("webcounter.txt","a+");
fputs($fp,$ftinput);
fclose($fp);
}
if("$tcounter" == "graphics"){
$image = imagecreatefromjpeg("counter.jpg");
$white = imageColorallocate($image, 255,255,255);
$pos = "41";
if("$output[1]" !== ""){ $pos = "24"; }
if("$output[2]" !== ""){ $pos = "7"; }
$spaingl = $pos;
$spc = ($spaingl + 17);
$spcw = ($spc + 17 );
imagettftext($image, 14, 0, $spcw, 15, $white, "/home/vmist/public_html//fonts/TIMES.TTF","$output[2]");
imagettftext($image, 14, 0, $spc, 15, $white, "/home/vmist/public_html//fonts/TIMES.TTF","$output[1]");
imagettftext($image, 14, 0, $spaingl, 15, $white, "/home/vmist/public_html//fonts/TIMES.TTF","$output[0]");
imagejpeg($image);
imagedestroy($image);
}
?>
</TD></TR>
</TABLE>
</body>
</html>
AYARLAR.php
<?php
$resim = "http://warknightrpg.wa.ohost.de/marvel/logo.jpg";
$genislik = "200";
$uzunluk = "400";
?>
Bunları yapıyoruz daha sonra ayarlar.phpdeki adrese resmi ve boyutları giriyoruz index.php yi açıyoruz ama hata verecektir hemen vazgeçmiyor ve sayfayı yeniliyoruz ;) kendi kendine webconter.txt olusacaktir burdaki iplere bakara siteye giren ipleride gorebilirsin ;)
_____________________________
Donanım Haber Video İnceleme
Yeni mesajlar
Yeni mesajlar yok
Popüler konu, yeni mesajlar ile
Popüler konu, yeni mesajlarsız
Kilitli yeni mesajlar ile
Yeni mesajlar olmadan kilitli
Yeni mesaj at
Mesaja cevap at
Yeni anket aç
Oy kullan
Kendi mesajımı sil
Kendi konumu sil
Mesaja değerlendir
Mesajımı DH blog sayfama ekle