I need to create a script that will receive data from a variable.
open (or create if it doesn't exist) the text file and enter the information into the text file.
Then I have another program that has to read the contents of that file and output it to screen.
Here is what I have:
/* Take the contents of the variable $update and write it to
text.txt */
$update=fopen("text.txt","w+");
fwrite($update);
fclose($update);