sso Posted July 9, 2006 Share Posted July 9, 2006 Hello all,Long time reader of this forum, first time poster. I apologise before hand on the noobiness of my questions. I have searched and seem unable to find the answers that I am looking for.I am trying to write an in-house reporting tool for our manufacturing database which uses firebird. I am currently using php + firebird + pdf + apache and everything is great so far. I would like to add svg as our internal computers are all running linux with firefox browsers. This will mean that I am able to generate graphs using SVG that can be embeded into the page.I have looked around a bit on google and is able to get apache to show svg and I am even able to get firefox to show a php generate a page which embeds an svg (the svg file is not generated by php such as box.svg) file correctly as well as use php to generate an svg file (box.psvg, this does not load on the page, it asks for an external application). The problem however comes when i am trying to embed a non-static svg file generated by php using the .psvg extension and getting the .psvg to load in the page itself. At the moment I am getting the page with nothing showing up.I am thinking that i might have stuffed up the apache httpd.conf file as i know that firefox is able to embed non-static .psvg file. example : http://www.carto.net/papers/svg/samples/serverside_svg_php.shtml I am running php version 4.39 with apache 1.3.27 as the webserver and client on a pretty stock fedora core 5 system. I have also included the following files from the webserver===================================================/etc/httpd/conf/httpd.conf===============box.svg which shows up on firefoxbox.psvg which firefox loads but not in the browser, instead asking me to open an external applicationsvg.php which is supposed to embed the box.psvg===================================================I am thinking that it might be the httpd.conf file that I have messed up. Would really appreciate any and all help that can be given.Apologise again if I missed a search or this might not be the right place to ask.regards,sso[attachment deleted by admin] Quote Link to comment https://forums.phpfreaks.com/topic/14089-php-firebird-pdf-svg-apache-great/ Share on other sites More sharing options...
sso Posted July 10, 2006 Author Share Posted July 10, 2006 Hello all,After a little bit more googling, i found this http://wiki.svg.org/Server_Configuration:Apache and its basically but and paste on the httpd.conf and it works now. If anyone wants info on how to setup php + firebird + pdf + svg + apache, leave a note.thanks again,ssoThe correct updated httpd.conf file is also attached here[attachment deleted by admin] Quote Link to comment https://forums.phpfreaks.com/topic/14089-php-firebird-pdf-svg-apache-great/#findComment-55353 Share on other sites More sharing options...
Koobi Posted July 10, 2006 Share Posted July 10, 2006 thanks for that link.yeah svg is pretty sweet. 3 years ago i thought it would wipe flash out...i'm surprised Adobe hasn't pushed for that after aquiring macromedia..they had a great SVG plugin.svg would have been good though because it could do everything Flash could if you knew enough JavaScript and google can index it.just imagine the possibilities with SVG+AJAX. i'm just waiting for someone to do something crazy with em...IE users will need to download an SVG plugin though. Quote Link to comment https://forums.phpfreaks.com/topic/14089-php-firebird-pdf-svg-apache-great/#findComment-55626 Share on other sites More sharing options...
sso Posted July 13, 2006 Author Share Posted July 13, 2006 totally agree koobi.. i have always been stuck on the graphics and reporting portion of my php web apps.. but now no moreIts good stuff Quote Link to comment https://forums.phpfreaks.com/topic/14089-php-firebird-pdf-svg-apache-great/#findComment-57117 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.