Re: [PHP] svg graphics and php : is it possible

2002-07-03 Thread William S.
Perhaps this relates to the original question as an additional feature. What would be the best way to offer SVG content from the main opening page? Since SVG requires a browser that has the approprite plugin or a dedicated browser, is it better to create a hyperlink or maybe have the SVG capabili

Re: [PHP] svg graphics and php : is it possible

2002-07-02 Thread Justin French
If you output the right headers, then output the file (by either passing thru an existing file or "building" a file), then it should work although I have no experience with exactly what you want -- only with MP3s, images, etc. Justin French on 01/07/02 7:52 PM, Herve le Martret ([EMAIL PROT

Re: [PHP] svg graphics and php : is it possible

2002-07-02 Thread Bogdan Stancescu
I think the proper MIME type for sgv is image/svg-xml. Why aren't you able to output svg lines with print() (or echo())? Bogdan Herve le Martret wrote: >Hello, > >I am interested in creating svg graphics with php like creating a image with >gd. >I tried a PHP script with : > >header ("Content-

[PHP] svg graphics and php : is it possible

2002-07-02 Thread Herve le Martret
Hello, I am interested in creating svg graphics with php like creating a image with gd. I tried a PHP script with : header ("Content-type: image/xml+svg"); but I don't know how to output correctly svg lines. It is not possible to ouput svg lines with the print command and a command like "image