salve,

con un link devo permettere il download per ogni browser, ma questo deve essere riconosciuto. P.es per Opera 7 e IE5 uso:
codice:
  if ($atto == 'dnld') {
    $disposition = 'attachment';
    if (strpos($_SERVER['HTTP_USER_AGENT'], 'MSIE 5') or
        strpos($_SERVER['HTTP_USER_AGENT'], 'Opera 7'))	{
      $tipo = 'application/x-download';
    }
  }
  
  header("content-disposition: $disposition; nome_f=$nome_f");
  header("content-type: $tipo");
ora per firefox viene riconosciuto
Mozilla/5.0 (Windows; U; Windows NT 5.1; it-IT; rv:1.7.5) Gecko/20041110 Firefox/1.0

Cosa devo aggiungere nella strpos() .. ?
grazie