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 <[email protected]> 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 <[email protected]> wrote:
>> > hmmm strange my symfony doesn't recognize the setHeader from
>> > getResponse()
>>
>> > greetings
>>
>> > On 7 apr, 16:45, Stéphane <[email protected]> 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 <[email protected]> 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" <[email protected]> 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: [email protected] [mailto:
>> > > > [email protected]]
>> > > > > 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 [email protected]
>> > > > > To unsubscribe from this group, send email to
>> > > > > [email protected]<symfony-users%2bunsubscr...@googlegroups.com>
>> > <symfony-users%2bunsubscr...@googlegroups.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 [email protected]
>> > > > To unsubscribe from this group, send email to
>> > > > [email protected]<symfony-users%2bunsubscr...@googlegroups.com>
>> > <symfony-users%2bunsubscr...@googlegroups.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 [email protected]
>> > To unsubscribe from this group, send email to
>> > [email protected]<symfony-users%2bunsubscr...@googlegroups.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:[email protected]
--
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 [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en