SVG from IREV server question
Michael Kann
mikekann at yahoo.com
Tue Feb 9 22:24:07 EST 2010
Perhaps someone with some fresh eyes can help me out. I'm trying to serve up an SVG image from the IREV server. I started with a PHP script that works:
----------------------------------------
<?php
header('Content-Type: image/svg+xml');
echo '<?xml version="1.0" encoding="UTF-8" standalone="no"?>';
?>
<svg width="100px" height="100px" viewBox="0 0 500 500" version="1.0"
xmlns="http://www.w3.org/2000/svg">
<rect width="100" height="100" fill="blue" />
</svg>
----------------------------------------
Converting to an irev file, I tried out a few different lines to send out the header and the xml info, but nothing worked. Has anyone made this work?
Thanks in advance,
Mike
More information about the use-livecode
mailing list