make sure your form tag has enctype="multipart/form-data" in it

-- 
Chris Edwards
Web Application Developer
Outer Banks Internet, Inc.
252-441-6698
[EMAIL PROTECTED]
http://www.OuterBanksInternet.com

----- Original Message ----- 
From: "Steve Jackson" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, April 03, 2003 8:00 AM
Subject: RE: [PHP] PHP Email Attachment problem


> I also had a similar problem and it was simply because the directory
> holding the attachment didn't have permission to send the attachment, so
> check the permissions on the directory. Once I changed it it sends fine.
> Cheers,
> Steve Jackson
> Web Developer
> Viola Systems Ltd.
> http://www.violasystems.com
> [EMAIL PROTECTED]
> Mobile +358 50 343 5159
> 
> 
> 
> 
> 
> > -----Original Message-----
> > From: Jason Wong [mailto:[EMAIL PROTECTED] 
> > Sent: 3. huhtikuuta 2003 8:23
> > To: [EMAIL PROTECTED]
> > Subject: Re: [PHP] PHP Email Attachment problem
> > 
> > 
> > On Wednesday 02 April 2003 04:19, Michael Arena wrote:
> > > the only difference in the server setup is on my remote 
> > server it's a 
> > > RAQ and locally i'm using Xitami with PHP. I don't 
> > understand why it 
> > > won't send. I get the email over the RAQ but no attachment...
> > 
> > Have you checked that the file actually gets uploaded?
> > 
> > > are there any other
> > > settings that could differ that I would need to set? Like in the 
> > > php.ini file?
> > 
> > Have you enabled file_uploads in php.ini?
> > 
> > -- 
> > Jason Wong -> Gremlins Associates -> www.gremlins.biz
> > Open Source Software Systems Integrators
> > * Web Design & Hosting * Internet & Intranet Applications 
> > Development *
> > ------------------------------------------
> > Search the list archives before you post 
> > http://marc.theaimsgroup.com/?l=php-general
> > 
> > ------------------------------------------
> > /*
> > Our ISP is having {switching,routing,SMDS,frame relay} problems */
> > 
> > 
> > -- 
> > PHP General Mailing List (http://www.php.net/)
> > To unsubscribe, visit: http://www.php.net/unsub.php
> > 
> 
> 
> -- 
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
> 

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

Reply via email to