Re: [PHP] reg globals

2007-01-11 Thread Roman Neuhauser
# [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

[PHP] reg globals

2007-01-11 Thread Ross
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.