Re: [PHP] PHP Email Attachment problem

2003-04-04 Thread Jason Wong
On Saturday 05 April 2003 00:41, Michael Arena wrote: > After reading the file_upload section on PHP.net i got the following script > working on the server..it sends an attachment from a form now but it's > just of size 0 and always a txt file. I know it must be some little thing > wrong then this

Re: [PHP] PHP Email Attachment problem

2003-04-04 Thread Burhan Khalid
Michael Arena wrote: When I put change the line you suggested to " Line25 $fileatt = "/home/sites/webserver.agraservices.net/web/mike/$_POST['fileatt']"; $fileatt_type = $_FILES['fileatt']['type'];// Type of file being sent $fileatt_name = $_FILE

Re: [PHP] PHP Email Attachment problem

2003-04-04 Thread Michael Arena
sage - From: "Burhan Khalid" <[EMAIL PROTECTED]> Newsgroups: php.general To: "Michael Arena" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Friday, April 04, 2003 1:21 PM Subject: Re: [PHP] PHP Email Attachment problem > Michael Arena wrote: > > d

Re: [PHP] PHP Email Attachment problem

2003-04-04 Thread Burhan Khalid
Michael Arena wrote: did that...still sends only a file called ".txt" size zero ? try replacing $fileatt with $_POST['fileatt'] -- Burhan Khalid phplist[at]meidomus[dot]com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] PHP Email Attachment problem

2003-04-04 Thread Michael Arena
t; Sent: Friday, April 04, 2003 11:48 AM Subject: Re: [PHP] PHP Email Attachment problem > Michael Arena wrote: > > After reading the file_upload section on PHP.net i got the following script > > working on the server..it sends an attachment from a form now but it's just >

Re: [PHP] PHP Email Attachment problem

2003-04-04 Thread Burhan Khalid
Michael Arena wrote: After reading the file_upload section on PHP.net i got the following script working on the server..it sends an attachment from a form now but it's just of size 0 and always a txt file. I know it must be some little thing wrong then this will work, maybe you can eye it for me a

Re: [PHP] PHP Email Attachment problem

2003-04-04 Thread Michael Arena
: base64\n\n" . $data . "\n\n" . "--{$mime_boundary}--\n"; } mail($to, $subject, $message, $headers); echo "Thanks for sending mail"; ?> -end upload.php code thanks again for your help, Mike - Origin

Re: [PHP] PHP Email Attachment problem

2003-04-04 Thread Michael Arena
p.general To: <[EMAIL PROTECTED]> Sent: Friday, April 04, 2003 1:36 AM Subject: Re: [PHP] PHP Email Attachment problem > On Friday 04 April 2003 06:10, Michael Arena wrote: > > Made some progress today. Found an attachment script in the archives. I > > was able to send an

Re: [PHP] PHP Email Attachment problem

2003-04-03 Thread Jason Wong
On Friday 04 April 2003 06:10, Michael Arena wrote: > Made some progress today. Found an attachment script in the archives. I > was able to send an email attachment if it was already on the server. now i > just need the file to come from a form instead of already being on the > server but that's n

Re: [PHP] PHP Email Attachment problem

2003-04-03 Thread Michael Arena
$data . "\n\n" . "--{$mime_boundary}--\n"; } mail($to, $subject, $message, $headers); echo "Thanks for sending mail"; ?> ---end upload.php code- any suggestions on how to get this form going thanks a million, you

Re: [PHP] PHP Email Attachment problem

2003-04-03 Thread Jason Wong
On Thursday 03 April 2003 22:30, Michael Arena wrote: > I just checked the directory that I specified for temporary uploads > (/tmpuploads) and there is nothing there which leads me to believe the file > isn't getting uploaded. I'm not sure *how* you're checking that there's nothing there but pl

Re: [PHP] PHP Email Attachment problem

2003-04-03 Thread Michael Arena
PHP.ini file if you want to check that out as well because I didn't see anything in there called file_upload. Thanks, Mike - Original Message - From: "Jason Wong" <[EMAIL PROTECTED]> Newsgroups: php.general To: <[EMAIL PROTECTED]> Sent: Thursday, April 03,

Re: [PHP] PHP Email Attachment problem

2003-04-03 Thread Chris Edwards
> 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 perm

RE: [PHP] PHP Email Attachment problem

2003-04-03 Thread Steve Jackson
s.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,

Re: [PHP] PHP Email Attachment problem

2003-04-02 Thread Jason Wong
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 actua

Re: [PHP] PHP Email Attachment problem

2003-04-01 Thread Michael Arena
in the php.ini file? Thanks, Mike - Original Message - From: "Jason Wong" <[EMAIL PROTECTED]> Newsgroups: php.general To: <[EMAIL PROTECTED]> Sent: Tuesday, April 01, 2003 2:49 PM Subject: Re: [PHP] PHP Email Attachment problem > On Wednesday 02 April 2003 03:

Re: [PHP] PHP Email Attachment problem

2003-04-01 Thread Jason Wong
On Wednesday 02 April 2003 03:33, Mike wrote: > I want to send an email attachment using PHP and the below code works > locally but when i upload to my RAQ Cobalt server it doesn't send the > attachment and i can't figure out why. If you can offer me any guidance as > to why this is happening it i