Forum FAQForum FAQSearchSearch MemberlistMemberlist Forum ignore listForum ignore list RegisterRegister ProfileProfile Log in to check your private messagesLog in to check your private messages Log inLog in
brojac posijeta

 
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    mi3dot.org Forum Index -> Server-side
View previous topic :: View next topic  
Author Message
slid0



Joined: 06 Feb 2005
Posts: 54
Location: Samobor

PostPosted: 22.06.2005 15:58    Post subject: brojac posijeta Add user to your forum ignore list Reply with quote

e bok svima......
radim jedan site s brojacem posjeta bla, a kaj se tice php-a sam jos NOOBCHINA:cry: Crying or Very sad Crying or Very sad . i sad:
taj brojac radi preko txt filea u kojeg svaki put pise ++ i to se napravi svaki put kad stisnem gumb POCETNA STRANICA. i sve radi super. samo kaj imam u navigaciji par pop up gumba i onda se tu javlja problem......kad se otvori site sve super radi ali kad stisnem POCETNA onda ovi gumbi iz pop up menua citaju iz buffera tj kad ih se otvori citaju stari broj posjetitelja...

to znaci da citaju iz buffera.... mislim
Rolling Eyes
i mislim da se to dogadja zato jer je taj pop up menu napravljen s javom i brijem da je tu problem jer svi ovi ostali gumbi ocitavaju dobro. osim ovi iz pop up menija.......

nadam se da sam dovoljno objasnio problem.......

pliz nek se neko smiluje.......Crying or Very sad Crying or Very sad Crying or Very sad

aj bok

slid0

_________________
http://slide.6te.net
Back to top
View user's profile Send private message Visit poster's website
Gale



Joined: 04 Apr 2005
Posts: 120

PostPosted: 22.06.2005 22:44    Post subject: Add user to your forum ignore list Reply with quote

probaj stavit

<meta http-equiv="pragma" content="no-cache" />
Back to top
View user's profile Send private message Visit poster's website
slid0



Joined: 06 Feb 2005
Posts: 54
Location: Samobor

PostPosted: 23.06.2005 01:01    Post subject: Add user to your forum ignore list Reply with quote

hvala na odgovoru al ovo ne radi.... Crying or Very sad Brick wall Crying or Very sad Brick wall Crying or Very sad Crying or Very sad Crying or Very sad Crying or Very sad
anyway hvala
a kaj bi ova skripta trebala onemogucit cache..... zanimljivo.....
Back to top
View user's profile Send private message Visit poster's website
Matija



Joined: 22 Oct 2004
Posts: 571

PostPosted: 23.06.2005 09:31    Post subject: Add user to your forum ignore list Reply with quote

Pokušaj ga napraviti u flashu zasebno..........evo ti tut.

http://www.kirupa.com/developer/mx/hitcounter.htm

Ovo mi je najlakši način za izradi countera........
pozdrav i sretno Smile
Back to top
View user's profile Send private message MSN Messenger
nel`chee



Joined: 08 Jul 2004
Posts: 2087
Location: Rijeka

PostPosted: 23.06.2005 23:12    Post subject: Add user to your forum ignore list Reply with quote

ali ti hit counteri vam ne vrijede nista ako ne provjeravaju juzerov IP - jer inace ne dobijete broj posjeta nego koliko puta je stranica refreshana.

_________________
art & design portfoliofree Photoshop brushes stuffsketchblogfacebook
Back to top
View user's profile Send private message Visit poster's website Twitter profile
slid0



Joined: 06 Feb 2005
Posts: 54
Location: Samobor

PostPosted: 23.06.2005 23:28    Post subject: Add user to your forum ignore list Reply with quote

nel`chee wrote:
ali ti hit counteri vam ne vrijede nista ako ne provjeravaju juzerov IP - jer inace ne dobijete broj posjeta nego koliko puta je stranica refreshana.


istina, ali za koju to lovu radim mislim da je i to dobro.......... Rolling Eyes Rolling Eyes Rolling Eyes

nije to neki veliki projekt...
mislim da bi to trebalo zadovoljavat kriterije tog "klijenta".
Back to top
View user's profile Send private message Visit poster's website
slid0



Joined: 06 Feb 2005
Posts: 54
Location: Samobor

PostPosted: 23.06.2005 23:30    Post subject: Add user to your forum ignore list Reply with quote

Matija wrote:
Pokušaj ga napraviti u flashu zasebno..........evo ti tut.

http://www.kirupa.com/developer/mx/hitcounter.htm

Ovo mi je najlakši način za izradi countera........
pozdrav i sretno Smile


tnx probat ću.. Very Happy
Back to top
View user's profile Send private message Visit poster's website
i72852



Joined: 25 Feb 2004
Posts: 81

PostPosted: 24.06.2005 10:21    Post subject: Add user to your forum ignore list Reply with quote

evo ti jedan PHP primjer koji provjerava IP adresu i zapisuje u txt file...
Ja s njim nikad nisam imao nikakvih problema...

Code:

   session_start();
   $filename = "brojac.txt";
   $fp = fopen($filename, "r+");
   $mess = file($filename);
   $int_br = $mess[0];
   if (! isset($_SESSION['ip'])) {
      $int_br = $int_br + 1;
      fwrite($fp, "$int_br");
      $_SESSION['ip'] = $_SERVER['REMOTE_ADDR'];
   }
   fclose($fp);


pozdrav..
Back to top
View user's profile Send private message Visit poster's website
scip



Joined: 19 May 2005
Posts: 25
Location: osijek

PostPosted: 24.06.2005 11:09    Post subject: Add user to your forum ignore list Reply with quote

-citat iz php manual-a:

PHP scripts often generate dynamic content that must not be cached by the client browser or any proxy caches between the server and the client browser. Many proxies and clients can be forced to disable caching with:

Code:
<?php
// Date in the past
header("Expires: Mon, 26 Jul 1997 05:00:00 GMT");

// always modified
header("Last-Modified: " . gmdate("D, d M Y H:i:s") . " GMT");

// HTTP/1.1
header("Cache-Control: no-store, no-cache, must-revalidate");
header("Cache-Control: post-check=0, pre-check=0", false);

// HTTP/1.0
header("Pragma: no-cache");
?>


-samo ubaci kod na vrh svog .php-a i browseri nece cachirat

_________________
Let Your Bookmarks Define You ..
Back to top
View user's profile Send private message
nel`chee



Joined: 08 Jul 2004
Posts: 2087
Location: Rijeka

PostPosted: 25.06.2005 03:09    Post subject: Add user to your forum ignore list Reply with quote

Quote:
istina, ali za koju to lovu radim mislim da je i to dobro.......... Rolling Eyes Rolling Eyes Rolling Eyes

nije to neki veliki projekt...
mislim da bi to trebalo zadovoljavat kriterije tog "klijenta".

ni da je besplatno - opet nije dobro. as you wish...

_________________
art & design portfoliofree Photoshop brushes stuffsketchblogfacebook
Back to top
View user's profile Send private message Visit poster's website Twitter profile
slid0



Joined: 06 Feb 2005
Posts: 54
Location: Samobor

PostPosted: 25.06.2005 15:27    Post subject: Add user to your forum ignore list Reply with quote

Quote:

ni da je besplatno - opet nije dobro. as you wish...


hvala na kritici (vrlo oštroj) if I may add.
al evo sad mogu probat to napravit s I.P checkerom.....
...........sad se imam s cim igrat.....

tnx narode. Very Happy
zdravo......

slid0
Back to top
View user's profile Send private message Visit poster's website
slid0



Joined: 06 Feb 2005
Posts: 54
Location: Samobor

PostPosted: 26.06.2005 15:49    Post subject: Add user to your forum ignore list Reply with quote

scip wrote:
-citat iz php manual-a:

PHP scripts often generate dynamic content that must not be cached by the client browser or any proxy caches between the server and the client browser. Many proxies and clients can be forced to disable caching with:

Code:
<?php
// Date in the past
header("Expires: Mon, 26 Jul 1997 05:00:00 GMT");

// always modified
header("Last-Modified: " . gmdate("D, d M Y H:i:s") . " GMT");

// HTTP/1.1
header("Cache-Control: no-store, no-cache, must-revalidate");
header("Cache-Control: post-check=0, pre-check=0", false);

// HTTP/1.0
header("Pragma: no-cache");
?>


-samo ubaci kod na vrh svog .php-a i browseri nece cachirat



e hvala ovo fakat radi..........
you are the Cool

aj bok.......
slid0
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    mi3dot.org Forum Index -> Server-side All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group