[PHP-WIN] Re: email attachment blues

2002-12-31 Thread Jerry
I got it working. With the following line: enctype="multipart/form-data" in the form the $_POST method doesn't work. You have to use the $_FILES method. I got it to work with the following code: $userfile = $_FILES['attachment']['tmp_name']; $filename = $_FILES['attachment']['name']; copy ($userf

[PHP-WIN] Re: email attachment blues

2002-12-30 Thread Manuel Lemos
Hello, On 12/30/2002 01:08 PM, Jerry wrote: I'm a newbie trying to create a form that will allow the user send an attachment. I got everything working when I run it from the web server but not from any other pc. I looked at a lot of examples but I am obviously missing something. It seems like the