 |
Juventina |
[siti] identificare bot |
24-01-2006 08:39 |
|
 |
Juventina |
@Dublin

Registered: Dec 2001
Posts: 3334 (0.39 al dì)
Location: Trezzano s/N
Corso: specialistica informatica
Anno: 4 + 3 :/
Time Online: 44 Days, 15:17:10 [...]
Status: Offline
Edit | Report | IP: Logged |
[siti] identificare bot
Conoscete un metodo per riconoscere gli accessi ad un sito da parte di un bot dei motori di ricerca (ad esempio quello di msn o google).. si fanno ricoscere in qualche modo?

__________________
Don't be evil 
|
24-01-2006 08:39 |
|
|
|  |
 |
fabpicca |
uhm...con php puoi vedere l'header della richiesta ... |
24-01-2006 08:49 |
|
 |
fabpicca |
jesus robot d'acciaio

Registered: May 2002
Posts: 2166 (0.26 al dì)
Location: Pieve Emanuele
Corso: Ticom
Anno: 1°
Time Online: 12 Days, 23:12:28 [...]
Status: Offline
Edit | Report | IP: Logged |
uhm...con php puoi vedere l'header della richiesta no? con PHP puoi usare 'HTTP_USER_AGENT' variabile predefinita che dovrebbe contenere l'agent della richiesta identificando quindi anche eventuali bot... altrimenti puoi usare qualcosa di già fatto tipo php-stats
__________________
my website?|ubuntu linux|get Firefox|grazie Polonia |bagdad sour
"Come va che non ha le corna e le zampe di Caprone?" gli opposi. "Oh, Giuvà", mi disse il prete "adesso non si usa più.Satana è furbo". (I.Silone, Fontamara)
"Al giorno d'oggi non bisogna essere intelligenti, perchè la gente si offende" (un ubriacone)
"close your eyes / pay the price / for your paradise" (DM) "whatever you want to change/you'd better start changing it in your mind" (Transatlantic)
|
24-01-2006 08:49 |
|
|
|  |
 |
ripe |
In Asp.NET puoi utilizzare:
... |
24-01-2006 08:52 |
|
 |
ripe |
- up in the mountains -

Registered: Jun 2002
Posts: 9469 (1.13 al dì)
Location: Cinisellooo
Corso: TICO TICO
Anno: Primo
Time Online: 61 Days, 2:33:39 [...]
Status: Offline
Edit | Report | IP: Logged |
In Asp.NET puoi utilizzare:
System.Web.HttpContext.Current.Request.Browser.Crawler
che restituisce un valore booleano se si tratta di uno spider o di un crawler di un motore di ricerca.
Poi con:
System.Web.HttpContext.Current.Request.Browser.Browser
leggi il nome del bot!
__________________
«And if you ever smell christian blood up in the mountains, then get your axe and chop them down!»
|
24-01-2006 08:52 |
|
|
|  |
 |
Juventina |
[QUOTE][i]Originally posted by fabpicca [/i]
... |
24-01-2006 08:57 |
|
 |
Juventina |
@Dublin

Registered: Dec 2001
Posts: 3334 (0.39 al dì)
Location: Trezzano s/N
Corso: specialistica informatica
Anno: 4 + 3 :/
Time Online: 44 Days, 15:17:10 [...]
Status: Offline
Edit | Report | IP: Logged |
Originally posted by fabpicca
uhm...con php puoi vedere l'header della richiesta no? con PHP puoi usare 'HTTP_USER_AGENT' variabile predefinita che dovrebbe contenere l'agent della richiesta identificando quindi anche eventuali bot... altrimenti puoi usare qualcosa di già fatto tipo php-stats
sto facendo io un modulo di statistiche.. e mi piacerebbe levare dagli accessi.. tutti i bot.. ma non sono riuscita ancora a trovare un elenco in cui ci sono le "referenze".
__________________
Don't be evil 
|
24-01-2006 08:57 |
|
|
|  |
 |
Juventina |
[QUOTE][i]Originally posted by ripe [/i]
... |
24-01-2006 08:58 |
|
 |
Juventina |
@Dublin

Registered: Dec 2001
Posts: 3334 (0.39 al dì)
Location: Trezzano s/N
Corso: specialistica informatica
Anno: 4 + 3 :/
Time Online: 44 Days, 15:17:10 [...]
Status: Offline
Edit | Report | IP: Logged |
Originally posted by ripe
In Asp.NET puoi utilizzare:
System.Web.HttpContext.Current.Request.Browser.Crawler
che restituisce un valore booleano se si tratta di uno spider o di un crawler di un motore di ricerca.
Poi con:
System.Web.HttpContext.Current.Request.Browser.Browser
leggi il nome del bot!
o perbacco.. . a me serve in php 
__________________
Don't be evil 
|
24-01-2006 08:58 |
|
|
|  |
 |
fabpicca |
[QUOTE][i]Originally posted by Juventina [/i]
... |
24-01-2006 09:04 |
|
 |
fabpicca |
jesus robot d'acciaio

Registered: May 2002
Posts: 2166 (0.26 al dì)
Location: Pieve Emanuele
Corso: Ticom
Anno: 1°
Time Online: 12 Days, 23:12:28 [...]
Status: Offline
Edit | Report | IP: Logged |
Originally posted by Juventina
sto facendo io un modulo di statistiche.. e mi piacerebbe levare dagli accessi.. tutti i bot.. ma non sono riuscita ancora a trovare un elenco in cui ci sono le "referenze".
vista questa ?
http://www.php.net/manual/en/function.get-browser.php
__________________
my website?|ubuntu linux|get Firefox|grazie Polonia |bagdad sour
"Come va che non ha le corna e le zampe di Caprone?" gli opposi. "Oh, Giuvà", mi disse il prete "adesso non si usa più.Satana è furbo". (I.Silone, Fontamara)
"Al giorno d'oggi non bisogna essere intelligenti, perchè la gente si offende" (un ubriacone)
"close your eyes / pay the price / for your paradise" (DM) "whatever you want to change/you'd better start changing it in your mind" (Transatlantic)
|
24-01-2006 09:04 |
|
|
|  |
 |
N@RV1 |
[QUOTE][i]Originally posted by fabpicca [/i]
... |
24-01-2006 18:38 |
|
 |
N@RV1 |
www.narv1.net
Registered: Jan 2004
Posts: 759 (0.10 al dì)
Location: Garbagnate Milanese
Corso: TICOM
Anno: Primo
Time Online: 9 Days, 9:55:12 [...]
Status: Offline
Edit | Report | IP: Logged |
Originally posted by fabpicca
uhm...con php puoi vedere l'header della richiesta no? con PHP puoi usare 'HTTP_USER_AGENT' variabile predefinita che dovrebbe contenere l'agent della richiesta identificando quindi anche eventuali bot... altrimenti puoi usare qualcosa di già fatto tipo php-stats
Ciao , ma php-stats esiste ancora?!
a me è da un pò di tempo che non mi fa accedere al sito!
__________________
.:N@RV!:.
|
24-01-2006 18:38 |
|
|
|  |
 |
fabpicca |
[QUOTE][i]Originally posted by N@RV1 [/i]
... |
24-01-2006 20:15 |
|
 |
fabpicca |
jesus robot d'acciaio

Registered: May 2002
Posts: 2166 (0.26 al dì)
Location: Pieve Emanuele
Corso: Ticom
Anno: 1°
Time Online: 12 Days, 23:12:28 [...]
Status: Offline
Edit | Report | IP: Logged |
Originally posted by N@RV1
Ciao , ma php-stats esiste ancora?!
a me è da un pò di tempo che non mi fa accedere al sito!
oddio, è vero...boh...
__________________
my website?|ubuntu linux|get Firefox|grazie Polonia |bagdad sour
"Come va che non ha le corna e le zampe di Caprone?" gli opposi. "Oh, Giuvà", mi disse il prete "adesso non si usa più.Satana è furbo". (I.Silone, Fontamara)
"Al giorno d'oggi non bisogna essere intelligenti, perchè la gente si offende" (un ubriacone)
"close your eyes / pay the price / for your paradise" (DM) "whatever you want to change/you'd better start changing it in your mind" (Transatlantic)
Last edited by fabpicca on 24-01-2006 at 20:17
|
24-01-2006 20:15 |
|
|
|  |
 |
All times are GMT. The time now is 02:23. |
|
|
 |
|
 |
|
|
|  |
Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
|
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is ON
|
|
|
|
|
|