If i were an user (and probably I am :D) I'd like to have the url of the xsl file, click it and the browser ask me what to do (open or download).
It's possible managing the response to the the browser that it's a file and not a page. Sorry I don't know how to do it with php -- Andrea On Thu, Oct 7, 2010 at 11:33, Axel <[email protected]> wrote: > Hi all, > > first thanks in advance for your help. I have been digging around to > find a way to do this but I can't figure out what would be the > cleanest way to do so. > > I wish to generate an ".xls" file and open it right after the click > into the browser. > > What I currently do is I request "onClick" a ".php" file that generate > the file. "OnComplete" Request I open it through a "window.open()". It > works but like a pop up for the browser which I feel really not clean. > I have been looking at the more builder and I'm trying to figure out > how to do it properly ... > > This may seems so easy I'm already ashamed but let's get some help > over here ... > > Many thanks to all, > > Axel.
