thanks your code works
but still having one probleme
a sign like < get interpretted like &lt;

On 8 apr, 12:20, Земсков Юрий <[email protected]> wrote:
> button points browser to (js) window.location='balance/webmoneyXml'
>
> action executeWebmoneyXml() retrieves data
>
> modules/balance/templates/webmoneyXmlSuccess.php just echos xml code.
>
> and  modules/balance/config/view.yml  setups  headers so xml code will
> not be displayed, but downloaded by the browser.
>
> Вы писали 8 апреля 2010 г., 14:49:04:
>
>
>
>
>
> > then how do you let this code work if you by example press a button?
> > and i will probaly also need to fix the absolute path of the xml file
> > but i can solve this with an absolute path (so don't worry about that)
> > already thanks for your solution
> > On 8 apr, 11:19, Земсков Юрий <[email protected]> wrote:
> >> 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'
>
> >> Au ienaee 8 ?????? 2010 ?., 13:02:01:
>
> >> > I'm using symfony-1.4.3 and my php version is 5.3
> >> > On 8 apr, 09:31, Stephane <[email protected]> wrote:
> >> >> What is your symfony version ?
>
> >> >> Before Printing, Think about Your Environmental Responsibility!
> >> >> Avant d'Imprimer, Pensez a Votre Responsabilitee 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, Stephane <[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 a Votre Responsabilitee 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.
>
> >> >> > > > > -----Ursprungliche 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%[email protected]>
> >> >> > <symfony-users%[email protected]>
> >> >> > > > > 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%[email protected]>
> >> >> > <symfony-users%[email protected]>
> >> >> > > > For more options, visit this group at
> >> >> > > >http://groups.google.com/group/symfony-users?hl=en-Tekstuit
> >> >> > 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%[email protected]>
> >> >> > For more options, visit this group at
> >> >> >http://groups.google.com/group/symfony-users?hl=en-Tekstuit 
> >> >> >oorspronkelijk bericht niet weergeven -
>
> >> >> - Tekst uit oorspronkelijk bericht weergeven -
>
> >> --
> >> N oaa?aieai,
> >>  ??????? ????                          mailto:[email protected] Tekst uit 
> >> oorspronkelijk bericht niet weergeven -
>
> >> - Tekst uit oorspronkelijk bericht weergeven -
>
> --
> С уважением,
>  Земсков Юрий                          mailto:[email protected] 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]
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en

Reply via email to