Ross wrote:
$mail->AddAttachment($_FILES('userfile'));

Ignoring the fact that $_FILES['userfile'] is an array and probably isn't what you want to pass to the AddAttachment method (although I know nothing about phpmail specifics), shouldn't that be:

$mail->AddAttachment($_FILES['userfile']);

(square brackets, as $_FILES is an array, not a function)

Jasper

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to