[svg-developers] Re: IE tries to download, not display svg file ***php (gzip_encode.php) related

2006-09-09 Thread couloir007
Revisiting this problem, Richard's suggestion didn't work. This is
what I know.

Code sample.


')."\n";
?>
http://www.w3.org/TR/SVG/DTD/svg10.dtd'>

.



-I have to place gzip.exe and gzip_encode.php in the same directory to
compress my output.

-If they are not there, it will display, if so, IE tries to download
the file. What kills me, is that on my work computer and home desktop,
no problem. 

-On my laptop and some friends computers, but not all, IE tries to
download.

-I recently reformatted my laptop.

-Appears to be a problem on computers that have not recently viewed my
site.  Not sure what time frame, but computers that visited my site
say 6 months ago are fine, maybe even only 3.

-It has to do with gzip_encode.php.

-No problem running off my localhost on same laptop.

Examples

Good:
http://www.seanmontague.com/test2/map2.php

No Good:
http://www.seanmontague.com/test/map2.php

But this is OK.
http://localhost/test/map2.php


--- In svg-developers@yahoogroups.com, <[EMAIL PROTECTED]> wrote:
>
> I had this problem similar to this and it was down to the
declaration in the 
> ..aspx page
> 
> 
> http://www.w3.org/2000/svg"; 
> xmlns:xlink="http://www.w3.org/1999/xlink"; 
> xmlns:ev="http://www.w3.org/2001/xml-events"; viewBox="0 0 740 610">
> 
> 
> 
> 
> >From: Sean <[EMAIL PROTECTED]>
> >Reply-To: svg-developers@yahoogroups.com
> >To: svg-developers@yahoogroups.com
> >Subject: Re: [svg-developers] Re: IE tries to download, not display
svg 
> >file
> >Date: Tue, 22 Aug 2006 12:19:28 -0600
> >
> >I haven't had much opportunity to work on the problem since my work and
> >home pc both are fine. Last night I was able to reproduce the
problem on
> >a laptop I recently reformatted, which was quite annoying, but at least
> >I now have a computer with the problem. I tried the .htaccess file and
> >doesn't help. I haven't had time to explore much with my laptop, but it
> >prompts to either save or open the SVG file. When I try to open it, IE
> >crashes. I tried lowering the security, but that doesn't seem to work
> >either. The SVG is dynamically generated with PHP, and the mime
type and
> >header are set accordingly. Like I said, it is only a problem on some
> >computers.
> >
> >Thanks!
> >Sean
> >
> >Sherm wrote:
> >
> > > Sean,
> > >
> > > Have you set the SVG MIME type on your server? I've run into this
> > > issue twice before, and neither server had SVG/SVGZ set as a MIME
> > > type.
> > >
> > > I always send server admins to this page to get info on setting the
> > > MIME type:
> > > http://www.svgfaq.com/ServerGen.asp 
> ><http://www.svgfaq.com/ServerGen.asp>
> > >
> > > HTH.
> > >
> > > Sherm
> > >
> > > -
> > > On 16/08/2006, at 2:42 AM, Sean wrote:
> > >
> > > I had put this off to the side thinking it might have been an error
> > > in my file, but it apparently is not. This is not an Adobe viewer vs
> > > native issue. It seems to me to be a security issue. But I can't
> > > reproduce it on my computer. I've tried increasing the security, but
> > > my computer works fine. My friends are unable to view my SVG. It is
> > > database driven, php, svg maps. When they try to open them, it wants
> > > to save them or open them, but trying to press the open button does
> > > nothing. Any insight would be most appreciated.
> > >
> > >
> >
> >
> >
> >[Non-text portions of this message have been removed]
> >
> 
> _
> Windows Live™ Messenger has arrived. Click here to download it for
free! 
> http://imagine-msn.com/messenger/launch80/?locale=en-gb
>





-
To unsubscribe send a message to: [EMAIL PROTECTED]
-or-
visit http://groups.yahoo.com/group/svg-developers and click "edit my 
membership"
 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/svg-developers/

<*> Your email settings:
Individual Email | Traditional

<*> To change settings online go to:
http://groups.yahoo.com/group/svg-developers/join
(Yahoo! ID required)

<*> To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 




Re: [svg-developers] Re: IE tries to download, not display svg file

2006-08-22 Thread richard.gnyla
I had this problem similar to this and it was down to the declaration in the 
..aspx page


http://www.w3.org/2000/svg"; 
xmlns:xlink="http://www.w3.org/1999/xlink"; 
xmlns:ev="http://www.w3.org/2001/xml-events"; viewBox="0 0 740 610">




>From: Sean <[EMAIL PROTECTED]>
>Reply-To: svg-developers@yahoogroups.com
>To: svg-developers@yahoogroups.com
>Subject: Re: [svg-developers] Re: IE tries to download, not display svg 
>file
>Date: Tue, 22 Aug 2006 12:19:28 -0600
>
>I haven't had much opportunity to work on the problem since my work and
>home pc both are fine. Last night I was able to reproduce the problem on
>a laptop I recently reformatted, which was quite annoying, but at least
>I now have a computer with the problem. I tried the .htaccess file and
>doesn't help. I haven't had time to explore much with my laptop, but it
>prompts to either save or open the SVG file. When I try to open it, IE
>crashes. I tried lowering the security, but that doesn't seem to work
>either. The SVG is dynamically generated with PHP, and the mime type and
>header are set accordingly. Like I said, it is only a problem on some
>computers.
>
>Thanks!
>Sean
>
>Sherm wrote:
>
> > Sean,
> >
> > Have you set the SVG MIME type on your server? I've run into this
> > issue twice before, and neither server had SVG/SVGZ set as a MIME
> > type.
> >
> > I always send server admins to this page to get info on setting the
> > MIME type:
> > http://www.svgfaq.com/ServerGen.asp 
><http://www.svgfaq.com/ServerGen.asp>
> >
> > HTH.
> >
> > Sherm
> >
> > -
> > On 16/08/2006, at 2:42 AM, Sean wrote:
> >
> > I had put this off to the side thinking it might have been an error
> > in my file, but it apparently is not. This is not an Adobe viewer vs
> > native issue. It seems to me to be a security issue. But I can't
> > reproduce it on my computer. I've tried increasing the security, but
> > my computer works fine. My friends are unable to view my SVG. It is
> > database driven, php, svg maps. When they try to open them, it wants
> > to save them or open them, but trying to press the open button does
> > nothing. Any insight would be most appreciated.
> >
> >
>
>
>
>[Non-text portions of this message have been removed]
>

_
Windows Live™ Messenger has arrived. Click here to download it for free! 
http://imagine-msn.com/messenger/launch80/?locale=en-gb



-
To unsubscribe send a message to: [EMAIL PROTECTED]
-or-
visit http://groups.yahoo.com/group/svg-developers and click "edit my 
membership"
 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/svg-developers/

<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 





Re: [svg-developers] Re: IE tries to download, not display svg file

2006-08-22 Thread Sean
I haven't had much opportunity to work on the problem since my work and 
home pc both are fine. Last night I was able to reproduce the problem on 
a laptop I recently reformatted, which was quite annoying, but at least 
I now have a computer with the problem. I tried the .htaccess file and 
doesn't help. I haven't had time to explore much with my laptop, but it 
prompts to either save or open the SVG file. When I try to open it, IE 
crashes. I tried lowering the security, but that doesn't seem to work 
either. The SVG is dynamically generated with PHP, and the mime type and 
header are set accordingly. Like I said, it is only a problem on some 
computers.

Thanks!
Sean

Sherm wrote:

> Sean,
>
> Have you set the SVG MIME type on your server? I've run into this
> issue twice before, and neither server had SVG/SVGZ set as a MIME
> type.
>
> I always send server admins to this page to get info on setting the
> MIME type:
> http://www.svgfaq.com/ServerGen.asp 
>
> HTH.
>
> Sherm
>
> -
> On 16/08/2006, at 2:42 AM, Sean wrote:
>
> I had put this off to the side thinking it might have been an error
> in my file, but it apparently is not. This is not an Adobe viewer vs
> native issue. It seems to me to be a security issue. But I can't
> reproduce it on my computer. I've tried increasing the security, but
> my computer works fine. My friends are unable to view my SVG. It is
> database driven, php, svg maps. When they try to open them, it wants
> to save them or open them, but trying to press the open button does
> nothing. Any insight would be most appreciated.
>
>  



[Non-text portions of this message have been removed]



-
To unsubscribe send a message to: [EMAIL PROTECTED]
-or-
visit http://groups.yahoo.com/group/svg-developers and click "edit my 
membership"
 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/svg-developers/

<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 




[svg-developers] Re: IE tries to download, not display svg file

2006-08-17 Thread Sherm
Sean,

Have you set the SVG MIME type on your server? I've run into this 
issue twice before, and neither server had SVG/SVGZ set as a MIME 
type.

I always send server admins to this page to get info on setting the 
MIME type:
http://www.svgfaq.com/ServerGen.asp

HTH.

Sherm

-
On 16/08/2006, at 2:42 AM, Sean wrote:

I had put this off to the side thinking it might have been an error 
in my file, but it apparently is not. This is not an Adobe viewer vs 
native issue. It seems to me to be a security issue. But I can't 
reproduce it on my computer. I've tried increasing the security, but 
my computer works fine. My friends are unable to view my SVG. It is 
database driven, php, svg maps. When they try to open them, it wants 
to save them or open them, but trying to press the open button does 
nothing. Any insight would be most appreciated.





-
To unsubscribe send a message to: [EMAIL PROTECTED]
-or-
visit http://groups.yahoo.com/group/svg-developers and click "edit my 
membership"
 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/svg-developers/

<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 




Re: [svg-developers] Re: IE tries to download, not display svg file

2006-08-15 Thread Guy Morton
how are you embedding your SVG? in an embed tag? do you have a  
content-type attribute in there?

is there a difference between the IE versions?

are you compressing the SVG file with gzip?

Guy


On 16/08/2006, at 2:42 AM, Sean wrote:

> I had put this off to the side thinking it might have been an error in
> my file, but it apparently is not. This is not an Adobe viewer vs  
> native
> issue. It seems to me to be a security issue. But I can't reproduce it
> on my computer. I've tried increasing the security, but my computer
> works fine. My friends are unable to view my SVG. It is database  
> driven,
> php, svg maps. When they try to open them, it wants to save them or  
> open
> them, but trying to press the open button does nothing. Any insight
> would be most appreciated.
>
> Thanks!
> Sean
>
> --- In svg-developers@yahoogroups.com
>  postID=37hFfNDYV5KqVK_S_- 
> c5__V4Dhm1nZNUSTyaWOEP51xy6B_TG5QFGC1vLOuYgZNCLwqxLURj33m1Rrzaa9M0gdzG 
> 8o6J>,
> Sean <[EMAIL PROTECTED]> wrote:
>>
>> I was trying to bring up my svg on a friends computer last night,
> and IE
>> would only try to download the file. It is in PHP, but on my home
>> computer and work computer it works fine. I tried changing all the
>> permissions, but couldn't get anything to work. Any ideas what would
>> cause this?
>
> IE currently has no native support for SVG so you need a plugin like
> the Adobe SVG viewer installed that IE can handle SVG documents
> .
> As for your PHP script generating SVG make sure you set
> header('Content-Type: image/svg+xml');
>
>
> [Non-text portions of this message have been removed]
>
>
>
> -
> To unsubscribe send a message to: svg-developers- 
> [EMAIL PROTECTED]
> -or-
> visit http://groups.yahoo.com/group/svg-developers and click "edit  
> my membership"
> 
> Yahoo! Groups Links
>
>
>
>
>
>



-
To unsubscribe send a message to: [EMAIL PROTECTED]
-or-
visit http://groups.yahoo.com/group/svg-developers and click "edit my 
membership"
 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/svg-developers/

<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 





[svg-developers] Re: IE tries to download, not display svg file

2006-08-15 Thread Sean
I had put this off to the side thinking it might have been an error in 
my file, but it apparently is not. This is not an Adobe viewer vs native 
issue. It seems to me to be a security issue. But I can't reproduce it 
on my computer. I've tried increasing the security, but my computer 
works fine. My friends are unable to view my SVG. It is database driven, 
php, svg maps. When they try to open them, it wants to save them or open 
them, but trying to press the open button does nothing. Any insight 
would be most appreciated.

Thanks!
Sean

--- In svg-developers@yahoogroups.com 
,
 
Sean <[EMAIL PROTECTED]> wrote:
 >
 > I was trying to bring up my svg on a friends computer last night,
and IE
 > would only try to download the file. It is in PHP, but on my home
 > computer and work computer it works fine. I tried changing all the
 > permissions, but couldn't get anything to work. Any ideas what would
 > cause this?

IE currently has no native support for SVG so you need a plugin like
the Adobe SVG viewer installed that IE can handle SVG documents
.
As for your PHP script generating SVG make sure you set
header('Content-Type: image/svg+xml');


[Non-text portions of this message have been removed]



-
To unsubscribe send a message to: [EMAIL PROTECTED]
-or-
visit http://groups.yahoo.com/group/svg-developers and click "edit my 
membership"
 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/svg-developers/

<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 




[svg-developers] Re: IE tries to download, not display svg file

2006-08-06 Thread Martin Honnen
--- In svg-developers@yahoogroups.com, Sean <[EMAIL PROTECTED]> wrote:
>
> I was trying to bring up my svg on a friends computer last night,
and IE 
> would only try to download the file. It is in PHP, but on my home 
> computer and work computer it works fine. I tried changing all the 
> permissions, but couldn't get anything to work. Any ideas what would 
> cause this?

IE currently has no native support for SVG so you need a plugin like
the Adobe SVG viewer installed that IE can handle SVG documents
.
As for your PHP script generating SVG make sure you set
header('Content-Type: image/svg+xml');







-
To unsubscribe send a message to: [EMAIL PROTECTED]
-or-
visit http://groups.yahoo.com/group/svg-developers and click "edit my 
membership"
 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/svg-developers/

<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/