PDA

View Full Version : Update a txt file using HTML form


Nick Toye
10-25-2003, 03:28 PM
I want to be able to update a text file that I use to generate dynamic text in a flash movie.

I want to be able to do this via a form on a html page.

The text file that I have has the following variables:

&tuesdayStarterOne=
&tuesdayStarterTwo=
&tuesdayStarterThree=
&tuesdayStarterDescOne=
&tuesdayStarterDescTwo=
&tuesdayStarterDescThree=
&tuesdayStarterPriceOne=
&tuesdayStarterPriceTwo=
&tuesdayStarterPriceThree=

My txt file is called "tuesday.txt".

I understand that I may have to use some kind of php code, but its a bit beyond me at the moment.

Does anyone have any easy ideas on how I can do this.

I will be forever be in your debt.

Many thanks in advance.

Nick



Moved to the Server Integration - Server-Side Scripting forum
Please state what your working environment is and
please post in the right forum

CyanBlue
10-25-2003, 04:02 PM
Howdy... ;)

Yes... You need to have server side script to do the file writing...

See these threads for more details...

How to Write a Text File via Server Side Script
http://www.actionscript.org/forums/showthread.php3?s=&threadid=21791
http://www.actionscript.org/forums/showthread.php3?s=&threadid=25583
http://www.actionscript.org/forums/showthread.php3?s=&threadid=29763