howard,
try replacing $_FILES with $afiles in all instances only in the inc_fns.php file.
so it would look something like this:
PHP Code:
function import_contacts($_FILES)
{
$return_array = array();
$in_upfname = $_FILES['upfname']['name'];
$tmp_upfname = $_FILES['upfname']['tmp_name'];
// change to
function import_contacts($afiles)
{
$return_array = array();
$in_upfname = $afiles['upfname']['name'];
$tmp_upfname = $afiles['upfname']['tmp_name'];
//also here on line 233:
function import_contacts_excel($_FILES,$vid,$in_file)
// change to:
function import_contacts_excel($afiles,$vid,$in_file)
i think all of the remaining code can stay the same.
let me know if that works.
good luck!
Bookmarks