Graham Anderson wrote:
> What would be the standard/accepted way to do this?
>
> is it better to spell it out in the html email ?
> Download:
> Mac PC Linux ?
YES!
The software I want may not be used on the machine where I read email.
In fact, odds are really good it's *N
the download should be on the
positive match, not the fall-through.]
-- Original Message --
From: Graham Anderson <[EMAIL PROTECTED]>
To: " "
Date: Tuesday, January 18, 2005 03:08:16 PM -0800
Subject: [PHP] $_SERVER['HTTP_USER_AGENT'] in html email
is it
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';
}
--
3 matches
Mail list logo