I'm learned a bit of php over the weekend. This is the problem: I have Flash sending out a var "address" (an email address) to a php file (mailResponse.php), which then writes that address to a flat file (mailList.txt). (I haven't learned databases yet).
So when I browse thru a server on my PC (I just downloaded the PHPTriad), it works fine. When I put it online, however, it fails.
This is the php code on mailResponse.php:
$mailList=fopen("mailList.txt", "a");
fwrite($mailList, $address);
fclose($mailList);
I have an automatic e-mail responder in the same file that sends out a confirmation e-mail, successfully, so I know that 1) php is being understood and 2) the variable is being caught, on both localhost and the remote host.
I called my host, and they assured me they supported the latest php. I went into my directory and gave permissions to the files so I could write to them. I tried replacing relative addresses with absolute addresses in both Flash and in this simple little routine. I superstitiously got rid of the other mail() code. Nothing works.
What's the difference?
Thanks,
Matt