php code again
[code lang='php']
if ($_SERVER['QUERY_STRING'] == "test")
{
echo ("user agent: " . $_SERVER['HTTP_USER_AGENT']. "<br>");
echo ("
echo ("
");
}
else if (strstr($_SERVER['HTTP_USER_AGENT'], "MSIE") != FALSE)
{
header ("Content-Type: image/png");
echo file_get_contents ("rutgers_logo.png");
}
else
{
header ("Content-Type: image/svg+xml");
echo file_get_contents ("rutgers_logo.svg");
}
[/code]