PHWinfo banniere

Titres
PORTAIL ANNUAIRE ARTICLES COMPARATEUR HÉBERGEURS DEVIS FORUMS RÉDUCTEUR D'URL
Précédent   PHWinfo > Autres forums > Forum Programmation & Conception > comp.lang.php > webpage hit counter in PHP
S'inscrire FAQ Membres Recherche Messages du jour Marquer les forums comme lus
webpage hit counter in PHP

Réponse
 
LinkBack Outils de la discussion
Vieux 20/01/2008, 16h11   #1
frodobaggins@cornwall.privacy
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut webpage hit counter in PHP

Where would I find a website hit counter written preferably in PHP? I
do not have shell access to the web provider so installation would
have to be via FTP only (no make or compilation).
  Réponse avec citation
Vieux 20/01/2008, 16h40   #2
Luuk
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: webpage hit counter in PHP


<frodobaggins@cornwall.privacy> schreef in bericht
news:lhs6p3thcv2bnnhn8l8es8j5595jdn4j3q@4ax.com...
> Where would I find a website hit counter written preferably in PHP? I
> do not have shell access to the web provider so installation would
> have to be via FTP only (no make or compilation).


finding is not dificult: http://tinyurl.com/33wqor



  Réponse avec citation
Vieux 21/01/2008, 09h59   #3
frodobaggins@cornwall.privacy
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: webpage hit counter in PHP

On Sun, 20 Jan 2008 17:40:04 +0100, "Luuk" <luuk@invalid.lan> wrote:

>> Where would I find a website hit counter written preferably in PHP? I
>> do not have shell access to the web provider so installation would
>> have to be via FTP only (no make or compilation).

>
>finding is not dificult: http://tinyurl.com/33wqor


I can google as well. I was wondering if anyone had used one which
they could recommend.
  Réponse avec citation
Vieux 21/01/2008, 10h15   #4
rf
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: webpage hit counter in PHP


<frodobaggins@cornwall.privacy> wrote in message
news:27r8p35irg60d08beurbb7fips5q4v02a2@4ax.com...
> On Sun, 20 Jan 2008 17:40:04 +0100, "Luuk" <luuk@invalid.lan> wrote:
>
>>> Where would I find a website hit counter written preferably in PHP? I
>>> do not have shell access to the web provider so installation would
>>> have to be via FTP only (no make or compilation).

>>
>>finding is not dificult: http://tinyurl.com/33wqor

>
> I can google as well. I was wondering if anyone had used one which
> they could recommend.


Write one. It'd be only about ten lines long. Maybe fifteen if you want
bells and whistles.

--
Richard.


  Réponse avec citation
Vieux 21/01/2008, 10h25   #5
Luuk
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: webpage hit counter in PHP


<frodobaggins@cornwall.privacy> schreef in bericht
news:27r8p35irg60d08beurbb7fips5q4v02a2@4ax.com...
> On Sun, 20 Jan 2008 17:40:04 +0100, "Luuk" <luuk@invalid.lan> wrote:
>
>>> Where would I find a website hit counter written preferably in PHP? I
>>> do not have shell access to the web provider so installation would
>>> have to be via FTP only (no make or compilation).

>>
>>finding is not dificult: http://tinyurl.com/33wqor

>
> I can google as well. I was wondering if anyone had used one which
> they could recommend.


http://www.developingwebs.net/phpclass/hitcounter.php


  Réponse avec citation
Vieux 24/01/2008, 03h26   #6
frodobaggins@cornwall.privacy
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: webpage hit counter in PHP

On Mon, 21 Jan 2008 11:25:34 +0100, "Luuk" <luuk@invalid.lan> wrote:

>>>> Where would I find a website hit counter written preferably in PHP? I
>>>> do not have shell access to the web provider so installation would
>>>> have to be via FTP only (no make or compilation).
>>>
>>>finding is not dificult: http://tinyurl.com/33wqor

>>
>> I can google as well. I was wondering if anyone had used one which
>> they could recommend.

>
>http://www.developingwebs.net/phpclass/hitcounter.php


That works. But can anyone recommend a professional looking hit
counter which outputs a graphic file, instead of simply text?
  Réponse avec citation
Vieux 24/01/2008, 04h04   #7
Jerry Stuckle
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: webpage hit counter in PHP

frodobaggins@cornwall.privacy wrote:
> On Mon, 21 Jan 2008 11:25:34 +0100, "Luuk" <luuk@invalid.lan> wrote:
>
>>>>> Where would I find a website hit counter written preferably in PHP? I
>>>>> do not have shell access to the web provider so installation would
>>>>> have to be via FTP only (no make or compilation).
>>>> finding is not dificult: http://tinyurl.com/33wqor
>>> I can google as well. I was wondering if anyone had used one which
>>> they could recommend.

>> http://www.developingwebs.net/phpclass/hitcounter.php

>
> That works. But can anyone recommend a professional looking hit
> counter which outputs a graphic file, instead of simply text?
>


No counters look "professional". They are just a way for amateurs to
pump their egos.

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@attglobal.net
==================

  Réponse avec citation
Vieux 24/01/2008, 15h15   #8
Krustov
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: webpage hit counter in PHP

<comp.lang.php>
<>
<Wed, 23 Jan 2008 19:26:25 -0800>
<381gp3phemjhh85khvpkc0p9q9b901qu7o@4ax.com>

> >http://www.developingwebs.net/phpclass/hitcounter.php

>
> That works. But can anyone recommend a professional looking hit
> counter which outputs a graphic file, instead of simply text?
>


I havent looked at the above but assume its a text hit counter .

But to produce a graphic file hit counter then all you really need is 10
gif or jpg images that are numbered 0 1 2 3 4 5 6 7 8 9 .

- grab the text count
- create a background image (or load a image you done earlier)
- paste each 0-9 image onto the background image

You will then have a graphic file hit counter image that you can display
instead of a plain text counter .

Roughly speaking , The same php/gd skills used to create a image code
are used to create a hit counter graphic file .
  Réponse avec citation
Vieux 24/01/2008, 15h15   #9
Krustov
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: webpage hit counter in PHP

<comp.lang.php>
<Jerry Stuckle>
<Wed, 23 Jan 2008 23:04:04 -0500>
<RvidnVg57JDqkwXanZ2dnUVZ_gCdnZ2d@comcast.com>

> No counters look "professional". They are just a way for amateurs to
> pump their egos.
>


Is it you who decides for everybody else what is or isnt professional .


Excuse the silly question .....

But if your opinions are so important and stuff - then why dont other
people quote them on usenet .

Isnt it true that you yourself only post to usenet in a amateur capacity
in order to boost and pump up your own ego ? .
  Réponse avec citation
Vieux 24/01/2008, 16h07   #10
Paul Herber
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: webpage hit counter in PHP

On Thu, 24 Jan 2008 15:15:14 -0000, Krustov <me@privacy.net> wrote:

><comp.lang.php>
><Jerry Stuckle>
><Wed, 23 Jan 2008 23:04:04 -0500>
><RvidnVg57JDqkwXanZ2dnUVZ_gCdnZ2d@comcast.com>
>
>> No counters look "professional". They are just a way for amateurs to
>> pump their egos.
>>

>
>Is it you who decides for everybody else what is or isnt professional .
>
>
>Excuse the silly question .....
>
>But if your opinions are so important and stuff - then why dont other
>people quote them on usenet .
>
>Isnt it true that you yourself only post to usenet in a amateur capacity
>in order to boost and pump up your own ego ? .


Krusty, wipe the rabid foam from your mouth.


--
Regards, Paul Herber, Sandrila Ltd.
http://www.sandrila.co.uk/ http://www.pherber.com/
  Réponse avec citation
Vieux 24/01/2008, 19h22   #11
Animesh K
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: webpage hit counter in PHP

Jerry Stuckle wrote:
> frodobaggins@cornwall.privacy wrote:
>> On Mon, 21 Jan 2008 11:25:34 +0100, "Luuk" <luuk@invalid.lan> wrote:
>>
>>>>>> Where would I find a website hit counter written preferably in PHP? I
>>>>>> do not have shell access to the web provider so installation would
>>>>>> have to be via FTP only (no make or compilation).
>>>>> finding is not dificult: http://tinyurl.com/33wqor
>>>> I can google as well. I was wondering if anyone had used one which
>>>> they could recommend.
>>> http://www.developingwebs.net/phpclass/hitcounter.php

>>
>> That works. But can anyone recommend a professional looking hit
>> counter which outputs a graphic file, instead of simply text?
>>

>
> No counters look "professional". They are just a way for amateurs to
> pump their egos.
>


Heard of google analytics?

http://64.233.179.110/analytics/tour/index_en-US.html
  Réponse avec citation
Vieux 25/01/2008, 03h33   #12
Jerry Stuckle
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: webpage hit counter in PHP

Animesh K wrote:
> Jerry Stuckle wrote:
>> frodobaggins@cornwall.privacy wrote:
>>> On Mon, 21 Jan 2008 11:25:34 +0100, "Luuk" <luuk@invalid.lan> wrote:
>>>
>>>>>>> Where would I find a website hit counter written preferably in
>>>>>>> PHP? I
>>>>>>> do not have shell access to the web provider so installation would
>>>>>>> have to be via FTP only (no make or compilation).
>>>>>> finding is not dificult: http://tinyurl.com/33wqor
>>>>> I can google as well. I was wondering if anyone had used one which
>>>>> they could recommend.
>>>> http://www.developingwebs.net/phpclass/hitcounter.php
>>>
>>> That works. But can anyone recommend a professional looking hit
>>> counter which outputs a graphic file, instead of simply text?
>>>

>>
>> No counters look "professional". They are just a way for amateurs to
>> pump their egos.
>>

>
> Heard of google analytics?
>
> http://64.233.179.110/analytics/tour/index_en-US.html
>


Google analytics is not a counter.

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@attglobal.net
==================

  Réponse avec citation
Vieux 25/01/2008, 19h17   #13
Michael Fesser
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: webpage hit counter in PHP

..oO(Krustov)

><Jerry Stuckle>
>
>> No counters look "professional". They are just a way for amateurs to
>> pump their egos.

>
>Is it you who decides for everybody else what is or isnt professional .


Hit counters are _never_ professional. They are of no interest for the
users (use rand() if you want to show an impressive number to them) and
the real informations are available in the server's logfile.

Micha
  Réponse avec citation
Vieux 25/01/2008, 19h17   #14
Michael Fesser
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: webpage hit counter in PHP

..oO(Animesh K)

>Jerry Stuckle wrote:
>
>> No counters look "professional". They are just a way for amateurs to
>> pump their egos.

>
>Heard of google analytics?


Yes. It's in my filter.

Micha
  Réponse avec citation
Vieux 25/01/2008, 20h17   #15
John Dunlop
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: webpage hit counter in PHP

Michael Fesser:

> and the real informations are available in the server's logfile.


Although these data are often misinterpreted, misrepresented, and are
generally of no concern to the user.

--
Jock
  Réponse avec citation
Vieux 25/01/2008, 21h50   #16
Animesh K
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: webpage hit counter in PHP

Jerry Stuckle wrote:
> Animesh K wrote:
>> Jerry Stuckle wrote:
>>> frodobaggins@cornwall.privacy wrote:
>>>> On Mon, 21 Jan 2008 11:25:34 +0100, "Luuk" <luuk@invalid.lan> wrote:
>>>>
>>>>>>>> Where would I find a website hit counter written preferably in
>>>>>>>> PHP? I
>>>>>>>> do not have shell access to the web provider so installation would
>>>>>>>> have to be via FTP only (no make or compilation).
>>>>>>> finding is not dificult: http://tinyurl.com/33wqor
>>>>>> I can google as well. I was wondering if anyone had used one which
>>>>>> they could recommend.
>>>>> http://www.developingwebs.net/phpclass/hitcounter.php
>>>>
>>>> That works. But can anyone recommend a professional looking hit
>>>> counter which outputs a graphic file, instead of simply text?
>>>>
>>>
>>> No counters look "professional". They are just a way for amateurs to
>>> pump their egos.
>>>

>>
>> Heard of google analytics?
>>
>> http://64.233.179.110/analytics/tour/index_en-US.html
>>

>
> Google analytics is not a counter.
>


eh that way if I graph the output of my counter, you will call it as
plotter instead of counter.
  Réponse avec citation
Vieux 25/01/2008, 21h52   #17
Animesh K
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: webpage hit counter in PHP

Michael Fesser wrote:
> .oO(Krustov)
>
>> <Jerry Stuckle>
>>
>>> No counters look "professional". They are just a way for amateurs to
>>> pump their egos.

>> Is it you who decides for everybody else what is or isnt professional .

>
> Hit counters are _never_ professional. They are of no interest for the
> users (use rand() if you want to show an impressive number to them) and
> the real informations are available in the server's logfile.
>
> Micha


People do have page-view (counter) information on websites and it s
the viewer in understanding popularity of that particular page.

http://youtube.com/watch?v=mOeuar5LmtU

For example this has been viewd 280,XXX times, voted 510 times, and has
a 4-* rating. All these are "counters" of different kind and provide a
lot of information related to this particular video.

Perhaps you mean that stuff like sitemeter is boring, but it isn't
completely useless or unprofessional.
  Réponse avec citation
Vieux 25/01/2008, 23h06   #18
Jerry Stuckle
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: webpage hit counter in PHP

Animesh K wrote:
> Michael Fesser wrote:
>> .oO(Krustov)
>>
>>> <Jerry Stuckle>
>>>
>>>> No counters look "professional". They are just a way for amateurs
>>>> to pump their egos.
>>> Is it you who decides for everybody else what is or isnt professional .

>>
>> Hit counters are _never_ professional. They are of no interest for the
>> users (use rand() if you want to show an impressive number to them) and
>> the real informations are available in the server's logfile.
>>
>> Micha

>
> People do have page-view (counter) information on websites and it s
> the viewer in understanding popularity of that particular page.
>
> http://youtube.com/watch?v=mOeuar5LmtU
>
> For example this has been viewd 280,XXX times, voted 510 times, and has
> a 4-* rating. All these are "counters" of different kind and provide a
> lot of information related to this particular video.
>
> Perhaps you mean that stuff like sitemeter is boring, but it isn't
> completely useless or unprofessional.
>


And youtube is the latest in professional web design? ROFLMAO!

It's fine for those who need their egos stroked. But it's not professional.

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@attglobal.net
==================

  Réponse avec citation
Vieux 25/01/2008, 23h06   #19
Jerry Stuckle
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: webpage hit counter in PHP

Animesh K wrote:
> Jerry Stuckle wrote:
>> Animesh K wrote:
>>> Jerry Stuckle wrote:
>>>> frodobaggins@cornwall.privacy wrote:
>>>>> On Mon, 21 Jan 2008 11:25:34 +0100, "Luuk" <luuk@invalid.lan> wrote:
>>>>>
>>>>>>>>> Where would I find a website hit counter written preferably in
>>>>>>>>> PHP? I
>>>>>>>>> do not have shell access to the web provider so installation would
>>>>>>>>> have to be via FTP only (no make or compilation).
>>>>>>>> finding is not dificult: http://tinyurl.com/33wqor
>>>>>>> I can google as well. I was wondering if anyone had used one which
>>>>>>> they could recommend.
>>>>>> http://www.developingwebs.net/phpclass/hitcounter.php
>>>>>
>>>>> That works. But can anyone recommend a professional looking hit
>>>>> counter which outputs a graphic file, instead of simply text?
>>>>>
>>>>
>>>> No counters look "professional". They are just a way for amateurs
>>>> to pump their egos.
>>>>
>>>
>>> Heard of google analytics?
>>>
>>> http://64.233.179.110/analytics/tour/index_en-US.html
>>>

>>
>> Google analytics is not a counter.
>>

>
> eh that way if I graph the output of my counter, you will call it as
> plotter instead of counter.
>


Nope. It's a counter. Google Analytics is something completely
different - and there for a different reason.

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@attglobal.net
==================

  Réponse avec citation
Vieux 26/01/2008, 06h27   #20
Floor
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: webpage hit counter in PHP

Animesh K:

> People do have page-view (counter) information on websites and it s
> the viewer in understanding popularity of that particular page.


What influence would have the popularity of a page on my search behavior?
I mostly seek pages that aren't that popular.
Just like entering a super market and knowing what product is bought most.
Not relevant whatsoever.

--
Floor


  Réponse avec citation
Vieux 26/01/2008, 08h40   #21
saidar500@gmail.com
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: webpage hit counter in PHP

On Jan 25, 10:17pm, Michael Fesser <neti...@gmx.de> wrote:
> .oO(Krustov)
>
> ><Jerry Stuckle>

>
> >> No counters look "professional". They are just a way for amateurs to
> >> pump their egos.

>
> >Is it you who decides for everybody else what is or isnt professional .

>
> Hit counters are _never_ professional. They are of no interest for the
> users (use rand() if you want to show an impressive number to them) and
> the real informations are available in the server's logfile.
>
> Micha


  Réponse avec citation
Vieux 26/01/2008, 08h41   #22
saidar500@gmail.com
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: webpage hit counter in PHP

On Jan 25, 10:17pm, Michael Fesser <neti...@gmx.de> wrote:
> .oO(Animesh K)
>
> >Jerry Stuckle wrote:

>
> >> No counters look "professional". They are just a way for amateurs to
> >> pump their egos.

>
> >Heard of google analytics?

>
> Yes. It's in my filter.
>
> Micha


  Réponse avec citation
Vieux 28/01/2008, 19h22   #23
Animesh K
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: webpage hit counter in PHP

Floor wrote:
> Animesh K:
>
>> People do have page-view (counter) information on websites and it s
>> the viewer in understanding popularity of that particular page.

>
> What influence would have the popularity of a page on my search behavior?
> I mostly seek pages that aren't that popular.
> Just like entering a super market and knowing what product is bought most.
> Not relevant whatsoever.
>



For you it may not be the best idea. However, a lot of people sort items
by popularity. A page view count directly gives the impression of
current page's popularity.

May be you look for less known things; but imagine a yellow-page website
and you searched for "camera." Would you like to visit a shop with
lowest views/responses or would you rather be cautious and visit the
more popular one?

Again, this is just one example. I am sure you can construct your own.
  Réponse avec citation
Vieux 28/01/2008, 19h25   #24
Animesh K
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: webpage hit counter in PHP

Jerry Stuckle wrote:
> Animesh K wrote:
>> Michael Fesser wrote:
>>> .oO(Krustov)
>>>
>>>> <Jerry Stuckle>
>>>>
>>>>> No counters look "professional". They are just a way for amateurs
>>>>> to pump their egos.
>>>> Is it you who decides for everybody else what is or isnt professional .
>>>
>>> Hit counters are _never_ professional. They are of no interest for the
>>> users (use rand() if you want to show an impressive number to them) and
>>> the real informations are available in the server's logfile.
>>>
>>> Micha

>>
>> People do have page-view (counter) information on websites and it
>> s the viewer in understanding popularity of that particular page.
>>
>> http://youtube.com/watch?v=mOeuar5LmtU
>>
>> For example this has been viewd 280,XXX times, voted 510 times, and
>> has a 4-* rating. All these are "counters" of different kind and
>> provide a lot of information related to this particular video.
>>
>> Perhaps you mean that stuff like sitemeter is boring, but it isn't
>> completely useless or unprofessional.
>>

>
> And youtube is the latest in professional web design? ROFLMAO!
>
> It's fine for those who need their egos stroked. But it's not
> professional.
>


I realize that there is no point in imparting suggestions to you. You
have your own pre-determined misconceptions.
  Réponse avec citation
Vieux 28/01/2008, 19h25   #25
Animesh K
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: webpage hit counter in PHP

Michael Fesser wrote:
> .oO(Animesh K)
>
>> Jerry Stuckle wrote:
>>
>>> No counters look "professional". They are just a way for amateurs to
>>> pump their egos.

>> Heard of google analytics?

>
> Yes. It's in my filter.
>
> Micha


You can also put the counters (like sitemeter) in your filter. That was
not the point of my post.
  Réponse avec citation
Réponse


Outils de la discussion

Règles de messages
Vous ne pouvez pas créer de nouvelles discussions
Vous ne pouvez pas envoyer des réponses
Vous ne pouvez pas envoyer des pièces jointes
Vous ne pouvez pas modifier vos messages

Les balises BB sont activées : oui
Les smileys sont activés : oui
La balise [IMG] est activée : oui
Le code HTML peut être employé : non
Trackbacks are oui
Pingbacks are oui
Refbacks are oui


Fuseau horaire GMT +1. Il est actuellement 06h31.


Édité par : vBulletin® version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC5 Tous droits réservés.
Version française #16 par l'association vBulletin francophone
PHWinfo est un site Éducation Sans Frontières ©2000-2008
Ad Management by RedTyger
©Tous droits réservés par les parties respectives
Page generated in 0,39486 seconds with 33 queries