Re: [PHP] Saving to a file

2001-06-20 Thread Andreas D. Landmark
At 20.06.2001 09:04, Rosen wrote: >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 fopen() [http://www.php.net/manual/en/function.fopen.ph

RE: [PHP] Saving to a file

2001-06-20 Thread Warren Vail
Rosen, Depends on where you want to save the file. To get the manual http://www.php.net/docs.php. To Save to a file on the machine running the browser; make a form that outputs absolutely nothing except; header("Content-Type: application/octet-stream"); header("Content-Disposition: attachment

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 f