$_SERVER['HTTP_USER_AGENT'] in html email

From: Date: Tue, 18 Jan 2005 23:08:16 +0000
Subject: $_SERVER['HTTP_USER_AGENT'] in html email
Groups: php.general 
Request: Send a blank email to php-general+get-206719@lists.php.net to get a copy of this message
is it possible to use $_SERVER['HTTP_USER_AGENT'] in an html email ? something like: //What should we download based on user's platform ? if (strpos($_SERVER['HTTP_USER_AGENT'], 'Macintosh') !== FALSE) { $download = 'Fonovisa.dmg'; echo 'Mac'; } else { echo 'PC'; $download = '!Fonovisa.exe'; }

« previous php.general (#206719) next »