That's a better solution than mine.

Thanks :-)

-----Ursprüngliche Nachricht-----
Von: symfony-users@googlegroups.com [mailto:symfony-us...@googlegroups.com] Im 
Auftrag von ??????? ????
Gesendet: Donnerstag, 8. April 2010 12:19
An: kim
Betreff: Re: [symfony-users] Re: save xml php

I'm using this code in view.yml file located in /config/ folder of the
current module:

webmoneyXmlSuccess:
  has_layout: false
  http_metas:
    content-description: File Transfer
    content-type: application/xml
    content-disposition: 'attachment; filename=payment.xml'



Âû ïèñàëè 8 ?????? 2010 ?., 13:02:01:

> I'm using symfony-1.4.3 and my php version is 5.3

> On 8 apr, 09:31, Stéphane <stephane.er...@gmail.com> wrote:
>> What is your symfony version ?
>>
>> Before Printing, Think about Your Environmental Responsibility!
>> Avant d'Imprimer, Pensez à Votre Responsabilitée Environnementale!
>>
>>
>>
>> On Thu, Apr 8, 2010 at 10:27 AM, kim <thechosendra...@gmail.com> wrote:
>> > hmmm strange my symfony doesn't recognize the setHeader from
>> > getResponse()
>>
>> > greetings
>>
>> > On 7 apr, 16:45, Stéphane <stephane.er...@gmail.com> wrote:
>> > > $this->getReponse()->setHeader('Content-type', $documentMIMEType);
>> > > in your action ($this is instance of sfActions)
>>
>> > >http://www.symfony-project.org/api/1_0/sfWebResponse#method_sethttphe...
>>
>> > > Before Printing, Think about Your Environmental Responsibility!
>> > > Avant d'Imprimer, Pensez à Votre Responsabilitée Environnementale!
>>
>> > > On Wed, Apr 7, 2010 at 5:37 PM, kim <thechosendra...@gmail.com> wrote:
>> > > > thnanks this is indeed what i'm searching for but i was wondering how
>> > > > i can set this headers
>> > > > so that the user can select by himself where the file will be
>> > > > downloaded
>>
>> > > > greetings
>>
>> > > > On 7 apr, 15:31, "Christopher Schnell" <ty...@mda.ch> wrote:
>> > > > > You have to set the http headers. Unfortunately I don't have an
>> > example
>> > > > at
>> > > > > hand, but this should get you started.
>>
>> > > > > Don't forget to turn off layout.
>>
>> > > > > Regards,
>> > > > > Christopher.
>>
>> > > > > -----Ursprüngliche Nachricht-----
>> > > > > Von: symfony-users@googlegroups.com [mailto:
>> > > > symfony-us...@googlegroups.com]
>> > > > > Im Auftrag von kim
>> > > > > Gesendet: Mittwoch, 7. April 2010 12:57
>> > > > > An: symfony users
>> > > > > Betreff: [symfony-users] save xml php
>>
>> > > > > hello,
>>
>> > > > > i have parsed a xml from a string with the simplexml_load_string()
>> > > > > function
>> > > > > but now i want to show a save file dialog so the user can download
>> > the
>> > > > > xml file
>> > > > > but how do i have to do this?
>>
>> > > > > thanks
>>
>> > > > > --
>> > > > > If you want to report a vulnerability issue on symfony, please send
>> > it to
>> > > > > security at symfony-project.com
>>
>> > > > > You received this message because you are subscribed to the Google
>> > > > > Groups "symfony users" group.
>> > > > > To post to this group, send email to symfony-users@googlegroups.com
>> > > > > To unsubscribe from this group, send email to
>> > > > > symfony-users+unsubscr...@googlegroups.com<symfony-users%2bunsubscr...@goog­legroups.com>
>> > <symfony-users%2bunsubscr...@goog­legroups.com>
>> > > > > For more options, visit this group athttp://
>> > > > groups.google.com/group/symfony-users?hl=en
>>
>> > > > > To unsubscribe, reply using "remove me" as the subject.
>>
>> > > > --
>> > > > If you want to report a vulnerability issue on symfony, please send it
>> > to
>> > > > security at symfony-project.com
>>
>> > > > You received this message because you are subscribed to the Google
>> > > > Groups "symfony users" group.
>> > > > To post to this group, send email to symfony-users@googlegroups.com
>> > > > To unsubscribe from this group, send email to
>> > > > symfony-users+unsubscr...@googlegroups.com<symfony-users%2bunsubscr...@goog­legroups.com>
>> > <symfony-users%2bunsubscr...@goog­legroups.com>
>> > > > For more options, visit this group at
>> > > >http://groups.google.com/group/symfony-users?hl=en-Tekst uit
>> > oorspronkelijk bericht niet weergeven -
>>
>> > > - Tekst uit oorspronkelijk bericht weergeven -
>>
>> > --
>> > If you want to report a vulnerability issue on symfony, please send it to
>> > security at symfony-project.com
>>
>> > You received this message because you are subscribed to the Google
>> > Groups "symfony users" group.
>> > To post to this group, send email to symfony-users@googlegroups.com
>> > To unsubscribe from this group, send email to
>> > symfony-users+unsubscr...@googlegroups.com<symfony-users%2bunsubscr...@goog­legroups.com>
>> > For more options, visit this group at
>> >http://groups.google.com/group/symfony-users?hl=en- Tekst uit 
>> >oorspronkelijk bericht niet weergeven -
>>
>> - Tekst uit oorspronkelijk bericht weergeven -



-- 
Ñ óâàæåíèåì,
 ??????? ????                          mailto:y...@zemskov.name

-- 
If you want to report a vulnerability issue on symfony, please send it to 
security at symfony-project.com

You received this message because you are subscribed to the Google
Groups "symfony users" group.
To post to this group, send email to symfony-users@googlegroups.com
To unsubscribe from this group, send email to
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en

-- 
If you want to report a vulnerability issue on symfony, please send it to 
security at symfony-project.com

You received this message because you are subscribed to the Google
Groups "symfony users" group.
To post to this group, send email to symfony-users@googlegroups.com
To unsubscribe from this group, send email to
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en

Reply via email to