Re: reg globals

From: Date: Thu, 11 Jan 2007 11:16:01 +0000
Subject: Re: reg globals
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-246897@lists.php.net to get a copy of this message
# ross@aztechost.com / 2007-01-11 10:08:07 -0000: > $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.post-method It says: $_FILES['userfile']['name'] The original name of the file on the client machine. -- How many Vietnam vets does it take to screw in a light bulb? You don't know, man. You don't KNOW. Cause you weren't THERE. http://bash.org/?255991

« previous php.general (#246897) next »