Mikebert4
08-01-2008, 10:59 AM
Hi all,
I'm trying to use php to add a VML namespace to a page on my pages, but only for IE
I have a variable ($browser) that denotes the browser, basically my code consists of:
if($browser=="MSIE")
{
//add VML namespace
}
else
{
//link SVG file
}
can thins be done using somthing silimar to:
header('Content-Type: image/svg+xml');
(which is used in an external SVG file)
Also - any tips you mgiht have on dynamic vector graphics would be very well recieved! (if you hadn't guessed thats what I'm attempting already :p)
Thanks in advance
Mike
I'm trying to use php to add a VML namespace to a page on my pages, but only for IE
I have a variable ($browser) that denotes the browser, basically my code consists of:
if($browser=="MSIE")
{
//add VML namespace
}
else
{
//link SVG file
}
can thins be done using somthing silimar to:
header('Content-Type: image/svg+xml');
(which is used in an external SVG file)
Also - any tips you mgiht have on dynamic vector graphics would be very well recieved! (if you hadn't guessed thats what I'm attempting already :p)
Thanks in advance
Mike