# [EMAIL PROTECTED] / 2007-01-11 10:08:07 -:
> $userfile= $_POST['userfile'];
> $mail->AddAttachment($userfile, $_FILES['userfile']['name']);
>
> it now doesn't attach. any ideas?
Check the description of $_FILES at
http://www.php.net/manual/en/features.file-upload.php#features.file-upload.p
In a very old site of mine and not knowing any better I never used $_POST.
The server it has on has now decided to turn change it;s config...fair
enough but I am having problems with an attahcment in form. I have change
all the other varible to $_POST but the attachment is causing me trouble.
2 matches
Mail list logo