coolioman
10-27-2005, 02:09 AM
hey.
i want some data from a text area in my flash file to be sent to a .txt file...
i am using the following php script:<?php
$name = $_POST['said'];
$said = fopen("test.txt", "a+");
fwrite($said, "$name");
fclose($said);
header("Location: http://localhost/test.txt");
?>
and the following AS script:
on (release) {
loadVariablesNum("say.php", "POST");
}
iand i get this error message when tested on the server:
Notice: Undefined index: said in C:\Program Files\Abyss Web Server\htdocs\say.php on line 2
Warning: Cannot modify header information - headers already sent by (output started at C:\Program Files\Abyss Web Server\htdocs\say.php:2) in C:\Program Files\Abyss Web Server\htdocs\say.php on line 6
help is greatly appreciated
i want some data from a text area in my flash file to be sent to a .txt file...
i am using the following php script:<?php
$name = $_POST['said'];
$said = fopen("test.txt", "a+");
fwrite($said, "$name");
fclose($said);
header("Location: http://localhost/test.txt");
?>
and the following AS script:
on (release) {
loadVariablesNum("say.php", "POST");
}
iand i get this error message when tested on the server:
Notice: Undefined index: said in C:\Program Files\Abyss Web Server\htdocs\say.php on line 2
Warning: Cannot modify header information - headers already sent by (output started at C:\Program Files\Abyss Web Server\htdocs\say.php:2) in C:\Program Files\Abyss Web Server\htdocs\say.php on line 6
help is greatly appreciated