Re: [PHP] Saving server side file to local machine with JS

2009-07-27 Thread Thijs Lensselink
Skip Evans wrote: Sorry, I should have been clearer. When PHP finishes creating the file I need one of the JS alert type windows to appear that says.. Your file has completed, would you like to save it to your machine? Like you get when you download a file. If I knew the JS code to

[PHP] Saving server side file to local machine with JS

2009-07-26 Thread Skip Evans
Sorry, I should have been clearer. When PHP finishes creating the file I need one of the JS alert type windows to appear that says.. Your file has completed, would you like to save it to your machine? Like you get when you download a file. If I knew the JS code to do this I perhaps could

RE: [PHP] Saving a dynamic file

2006-08-04 Thread Miguel Guirao
: MIGUEL ANTONIO GUIRAO AGUILERA [mailto:[EMAIL PROTECTED] Sent: Saturday, July 29, 2006 4:01 AM To: php-general@lists.php.net Subject: [PHP] Saving a dynamic file Hi!! I'm in the need of saving to a file a dynamic page that I generated from a PHP script, taking data from a table!! So far I have

Re: [PHP] Saving a dynamic file

2006-08-03 Thread Richard Lynch
?php ob_start(); //rest of code here. $output = ob_get_contents(); ob_end_clean(); file_put_contents('/full/path/to/some/file', $output); echo $output; ? On Fri, July 28, 2006 9:01 pm, MIGUEL ANTONIO GUIRAO AGUILERA wrote: Hi!! I'm in the need of saving to a file a dynamic page

RE: [PHP] Saving a dynamic file

2006-07-30 Thread Brady Mitchell
Depends on what you are planning to do with the file. Saving it to PDF is also possible, take a look at http://fpdf.org and http://htmldoc.org/. Brady -Original Message- Hi!! I'm in the need of saving to a file a dynamic page that I generated from a PHP script, taking data from a

[PHP] Saving a dynamic file

2006-07-29 Thread MIGUEL ANTONIO GUIRAO AGUILERA
Hi!! I'm in the need of saving to a file a dynamic page that I generated from a PHP script, taking data from a table!! So far I have figured out two options: 1) Save the page as a XML document so it can be editable in a word processor later. Do I have to write line by line until I'm done

Re: [PHP] Saving a dynamic file

2006-07-29 Thread Larry Garfield
Depends what you're saving it for. Either of those options works, although you'd probably find it easier to save to OpenDoc format rather than Word, as OpenDoc is just XML with compression (and used by every major word processor except Word). Saving just a plain XML file is the same as

[PHP] saving blobs to file system

2004-11-15 Thread Merlin
Hi there, I do have images inside a blob field which I would like to save to the hard drive. Now I cant find a fuction in saving the file. Usually I retrieve the data out of the blob, and output a header before echoing the data. Basicly I do have the image now saved inside a string and I would

Re: [PHP] saving blobs to file system

2004-11-15 Thread Greg Donald
On Mon, 15 Nov 2004 21:12:25 +0100, Merlin [EMAIL PROTECTED] wrote: Hi there, I do have images inside a blob field which I would like to save to the hard drive. Now I cant find a fuction in saving the file. Usually I retrieve the data out of the blob, and output a header before echoing the

Re: [PHP] saving blobs to file system

2004-11-15 Thread Marek Kilimajer
Merlin wrote: Hi there, I do have images inside a blob field which I would like to save to the hard drive. Now I cant find a fuction in saving the file. Usually I retrieve the data out of the blob, and output a header before echoing the data. Basicly I do have the image now saved inside a

[PHP] saving the client's file upload location

2001-08-14 Thread Bob
i have people upload a file from their computer but if my form comes back with an error then they have to go select their file location again. is there any way of saving that location so they don't have to pick it again??? upload file [ c:/temp/picture.jpg ] input type=File name=picture

[PHP] Saving to a file

2001-06-20 Thread Rosen
Hi, Sorry for the stupid question, but i don't have at me a PHP manual and I want to save some string to file from PHP. Can someone tell me how ( with what function to do this ) ? Thanks Rosen

Re: [PHP] Saving to a file

2001-06-20 Thread Jason Stechschulte
On Wed, Jun 20, 2001 at 11:04:21AM +0300, Rosen wrote: Sorry for the stupid question, but i don't have at me a PHP manual and I want to save some string to file from PHP. Can someone tell me how ( with what function to do this ) ? fopen http://www.php.net/manual/en/function.fopen.php

RE: [PHP] Saving to a file

2001-06-20 Thread Warren Vail
To: [EMAIL PROTECTED] Subject: [PHP] Saving to a file Hi, Sorry for the stupid question, but i don't have at me a PHP manual and I want to save some string to file from PHP. Can someone tell me how ( with what function to do this ) ? Thanks Rosen