Re: repost: appending to text file
| From: | Jason Wong | Date: | Thu, 14 Mar 2002 20:14:07 +0000 |
| Subject: | Re: repost: appending to text file | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-88568@lists.php.net to get a copy of this message | ||
On Friday 15 March 2002 04:06, Gav wrote:
> I'm adapting some ecard code for my site so that users can save the
> position of various objects within my flash movie. At the moment I create
> a random file name for the text file which is saved to my server. The user
> is sent an email saying to go to this.swf?theinfo=randomtextfile.txt. The
> info in the text file saves a string separated by commas of what objects
> are on the stage. No text or _x or _y positions are needed e.g -
>
> itemString=blue,red,square,triangle&contentLoaded=true
>
> This part works fine.
>
> What I do want to do though is create a gallery feature so what I believe I
> need to do is to append the info above into a textfile named total.txt or
> something. So that everytime a separate file is saved on to the server,
> it's info is added to this total file. Is this the way to go about it? Or
> is there a php function that can see what files are in the directory, open
> them and then use the info that way?
Manual > chapter > Filesystem Functions
--
Jason Wong -> Gremlins Associates -> www.gremlins.com.hk
/*
... this must be what it's like to be a COLLEGE GRADUATE!!
*/