Here is the php file, I need 5 input text feilds saved to a file on my server using PHP.
Here is the php code I was givein, how can I use AS2 to save 5 text feilds to a file using this code?
"
"Here's your php code for writing to a file."
$fh = fopen('save.txt', 'w') or die("can't open file");
fwrite($fh, $_POST['t1'].'\n');
fwrite($fh, $_POST['t2'].'\n');
fwrite($fh, $_POST['t3'].'\n');
fwrite($fh, $_POST['t4'].'\n');
fwrite($fh, $_POST['t5'].'\n');
fclose($fh);
"Its good for development purposes, but if you should change it a little bit using flock because you're gonna run into some trouble if there are two people pressing the save button at the same time."
"
Has anyone done this B4?