Bonjour
Je cherche partout et je ne trouve pas la solution a mon problème.
le code que je teste est le suivant:
<?php
header("image/svg+xml");
print('<?xml version="1.0"?>'. "\n");
print('<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN"'. "\n");
print(' "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">'. "\n");
print(' '. "\n");
print('<svg xmlns="http://www.w3.org/2000/svg"'. "\n");
print(' width="500" height="500">'. "\n");
print('<rect x="25" y="25" width="150" height="150" />'. "\n");
print('<circle cx="150" cy="150" r="75" />'. "\n");
print('</svg>'. "\n");
?>
Quand je l'ouvre firefox m'affiche une page blanche

Si j'ouvre une image svg avec firefox elle s'affiche bien.
Si quelqu'un a une idée merci d'avance