1) The date function when using the U format option such as in
$CreateEcard = date(U);
Returns the number of seconds since the epoch which was some time in 1970 I think for unix. This was used as a way to uniquely orgainize all of the text files that are being written. You can view more information on this at:
http://www.php.net/manual/en/function.date.php2) I'm not sure why the validation and submit button is not working. The one reason that I can think of is that you changed the dynamic text field named Status to a different name and possibly changed the name of other text fields as well with out updateing the validation actionscript on the submit button to reflect those changes. That seems like the only reason why that would not be working.
3) If the Submit button is not working then the rest of it will not work as well.
The rest of your errors are probably due to a different setup of PHP. I should really get around to small items to check for. The script was set up to work in most cases but sometimes certain items in the php.ini file are changed for various reasons that will not allow the script to run properly as I have it set up. Some of these reason's may include:
1: Your using PHP 4.1.0 on an NT server with register globals turned on. In that case you would have to use something like: <?php $ToName = $_Post ["ToName"]; ... .. ?> For all of the variables.
2: The server has has short_tags = Off in php.ini, This would mean that you would have to use <?php to start the script and not just <?
Their are a couple other's and I'll try to go over them. The problem is probably with the server although. And until I have a comprehensive list of different differences and possible solutions for them it's going to be hard to answer all server specific questions.
If you can't submit the vars and the script has an error their is no way that it will be writing to the text file which is the reason why they are not being created in the dbText folder.