Can any body help me on the following
I have output a file in pdf using php (fpdf). Normally as I understand the $pdf->output() function acts in the server. Its Ok, but what I want is that the out put file should be saved in a folder in the client machine when a user clicks a button (which is a server side pdf file creation code i.e. fpdf->output function)in his machine .
I can easily save it in the server using appropriate code. But I am unable to save it in the client. What happens is it simply opens in pdf open/save dialog box and of course it can be saved if save option is selected in the pdf download daialog.
But my requirement is that I want to save the pdf download directly to a folder in the client without the save/open pdf dialog opening and prompting the user. I know that pdf can customize its downloads to directly save in to a folder. But it affects all the download files the user views and doesn't want to save.
That is I want to programmatically control to save or open the pdf file in the client. using php or javascript. I know, it being a client side operation javascript may be the only solution. Can any body help me out on this.