There appears to be a problem that is caused by deprecated code possibly, with the date set on upload file fields. The following error is displayed:
Warning : date() [ function.date ]:
It is not safe to rely on the system's timezone settings. You are required to use the date.timezone setting or the
date_default_timezone_set() function. In case you used any of those
methods and you are still getting this warning, you most likely
misspelled the timezone identifier. We selected 'America/Chicago' for
'CDT/-5.0/DST' instead in /home/xxxxxxxxx/public_html/forms/silver/processor.php on line 7
I believe the date function has to be changed to using something like: date.timezone = America/Detroit but I'm not sure how to properly incorporate it in the code. I have quite a few forms built with this program and don't want to have to redo all of them, due to a minor problem. Your help would be appreciated.
For your reference line 7 of processor.php: $field_12_filename = "file_12_".date.timezone = America/Detroit.substr($_FILES['field_12']['name'],strlen($_FILES['field_12']['name'])-4);
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
There appears to be a problem that is caused by deprecated code possibly, with the date set on upload file fields. The following error is displayed:
Warning : date() [ function.date ]:
It is not safe to rely on the system's timezone settings. You are
required to use the date.timezone setting or the
date_default_timezone_set() function. In case you used any of those
methods and you are still getting this warning, you most likely
misspelled the timezone identifier. We selected 'America/Chicago' for
'CDT/-5.0/DST' instead in /home/xxxxxxxxx/public_html/forms/silver/processor.php on line 7
I believe the date function has to be changed to using something like: date.timezone = America/Detroit but I'm not sure how to properly incorporate it in the code. I have quite a few forms built with this program and don't want to have to redo all of them, due to a minor problem. Your help would be appreciated.
For your reference line 7 of processor.php: $field_12_filename = "file_12_".date.timezone = America/Detroit.substr($_FILES['field_12']['name'],strlen($_FILES['field_12']['name'])-4);