Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > it.comp.www.php > #22288

Re: user-agent obbligatorio

Path csiph.com!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From Alessandro Pellizzari <shuriken@amiran.it>
Newsgroups it.comp.www.php
Subject Re: user-agent obbligatorio
Date Thu, 11 Oct 2018 13:07:53 +0100
Lines 13
Message-ID <g28souFc76U1@mid.individual.net> (permalink)
References <ppnebj$1cum$1@gioia.aioe.org>
Mime-Version 1.0
Content-Type text/plain; charset=iso-8859-15; format=flowed
Content-Transfer-Encoding 8bit
X-Trace individual.net VH7m48w/YXuntR2xK9mY+wPuYaA7u5I/6lgGqxIilYUaA2KHc=
Cancel-Lock sha1:GVhFh8a5et5KvwLUukZ16giNcKA=
User-Agent Mozilla/5.0 (Macintosh; Intel Mac OS X 10.12; rv:52.0) Gecko/20100101 Thunderbird/52.9.1
In-Reply-To <ppnebj$1cum$1@gioia.aioe.org>
Content-Language en-GB
Xref csiph.com it.comp.www.php:22288

Show key headers only | View raw


On 11/10/2018 13:01, alex wrote:

> $ua = $_SERVER['HTTP_USER_AGENT'];
> 
> Ma bisogna anche prevedere che l'user-agent non sia specificato, o tutti 
> o browser sono obbligati ad inviarlo?

Come tutti i dati che arrivano dal client, non ti devi fidare.

Può essere assente, vuoto, custom, corrotto, alterato da un proxy, un 
tentativo di DoS, ecc. ecc.

Bye.

Back to it.comp.www.php | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

user-agent obbligatorio alex <1j9448a02@lnx159sneakemail.com.invalid> - 2018-10-11 14:01 +0200
  Re: user-agent obbligatorio Alessandro Pellizzari <shuriken@amiran.it> - 2018-10-11 13:07 +0100
    Re: user-agent obbligatorio alex <1j9448a02@lnx159sneakemail.com.invalid> - 2018-10-11 15:18 +0200
      Re: user-agent obbligatorio Alessandro Pellizzari <shuriken@amiran.it> - 2018-10-11 15:44 +0100

csiph-web