SVG from IREV server question

Andre Garzia andre at andregarzia.com
Tue Feb 9 23:16:19 EST 2010


tried:

put header "Content-Type: image/svg+xml"

or (should not work, but it might)

put new header "Content-Type: image/svg+xml"

Andre

On Wed, Feb 10, 2010 at 1:24 AM, Michael Kann <mikekann at yahoo.com> wrote:
> 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
>
>
>
>
>
>
>
>
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution
>



-- 
http://www.andregarzia.com All We Do Is Code.



More information about the use-livecode mailing list