There are two files which the script is based on.
The config one is:
# sendmail cmd
mail_cmd = /usr/sbin/sendmail -t
# smtp server. comment this line to use sendmail
#mailserver = emujeres.net
# list of referers
Referers = www.emujeres.net
Referers = emujeres.net
Referers = localhost
# base path for templates.
base_path = ../contacto/
# path for attachments (relative to base_path).
# chmod 766 (write permission) this dir.
attachments_path = attachments/
# attachments time to live on server (in seconds).
attachments_ttl = 3600
# attachments max file size (in KB, 1024 for 1M)
max_file_size = 512
#default mail format (this option is overrided for AOL as plain)
mail_format = plain
date_format = dd month yyyy #27 April 2003
#date_format = wee dd/mm/yy #Sun 27/04/03
#date_format = weekday mmm dd, yyyy #Sunday Apr 27, 2003
Then the one that is sending the error is:
<?php
error_reporting(E_ALL ^E_NOTICE);
$Months= array('January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', 'October', 'November', 'December'); array_unshift($Months, "");
$Weekdays= array('Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday');
$base_path = "./";
$error_loop = 0;
$browser_out = 0;
$cfg_file = "formprocessorpro.cfg";
$mail_format = "plain";
//FIX 24/07/2003
if (!file_exists($cfg_file)) {
if ($HTTP_ENV_VARS["windir"]) {//windows
$cfg_file = str_replace('\','/',dirname($HTTP_SERVER_VARS['PATH_TRANSLATED'])).'/formprocessorpro.cfg';
}
$cfg_file = str_replace('//','/',$cfg_file);
}
//FIX 24/07/2003
$cfg_form = "form.cfg";
$content_type = "Content-Type: text/html";
$multi_separator = ", ";
//##############################################################################
$HTTP_ENV_VARS['UPDATED'] = ' ';