Re: create and save file to folder
| From: | Richard Lynch | Date: | Tue, 13 Mar 2007 03:09:53 +0000 |
| Subject: | Re: create and save file to folder | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-250387@lists.php.net to get a copy of this message | ||
On Wed, March 7, 2007 8:36 am, Ross wrote:
> I am trying to create a file with php. I want to enter the value of a
> string
> into it and then browse (if possible) and save to a specified folder
> with
> the filename/extension (.php/.txt) entered in the dialog box.
You can't do anything in PHP to "see" the directories on my local hard
drive, nor should you be able to, so it's entirely up to the user
where to save things.
You *CAN* force the filename in the "Save As..." box:
http://richardlynch.blogspot.com/
--
Some people have a "gift" link here.
Know what I want?
I want you to buy a CD from some starving artist.
http://cdbaby.com/browse/from/lynch
Yeah, I get a buck. So?