Posted by Graham Anderson on 01/19/05 01:08
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'; }
[Back to original message]
Copyright © 2005-2006 Powered by Custom PHP Programming