How do you upload information from variables in PHP to flash?
I want my dynamic text box to upload information from the variable $msg.
I also have some questions about this code. I didn’t know how to do everything I had here, so I borrowed some code from This Post .
Could someone explain what -
$data = fread($fp, “Goes here”);
and -
$fp = fopen($file, “Goes Here”);
I also would like to know if I can do what I did with this peice of code, adding html in the middle of it.
$new .= “<b>Name:</b> $name /n”;
<?
$file = “test3.txt”;
$fp = fopen($file, “a+”);
$data = fread($fp, 80000);
ftruncate($fp, 0);
$new = “$data”
$new .= “<b>Name:</b> $name /n”;
$new .= “<b>Message:</b> $message /n /n”;
$msg = “content=<p align=“left”>$new</p>”
fwrite($fp, $msg);
fclose($fp);
?>
Help??