Creating SVG graphics using the server side script (PHP)

Is there a way to generate an HTML file using a PHP script that has a built-in SVG where the SVG itself dynamically generates a PHP script?

Basically, I want to display dynamically generated SVG image to the client, but <embed>, <object>and <iframe>only apply to outside sources, while the PHP generates HTML-only the current page (rather than external sources))

Also, is there a possible Javascript solution where every time I add SVG elements to the current DOM?

+5
source share
2 answers

php : <object href=svg_generator.php> <!-- other attributes necessary for embedding svg not listed here -->

+3

raphael http://raphaeljs.com/ javascript, SVG -.

,

+2

All Articles