hi,
I've made a form to send out emails with attachments, and the attachments
look ok when they arrive but the content is somehow bad. I cannot open gifs
nor can word open the documents. Looking at the content something may be
wrong with the encoding: if i open the GIF file the normal one as
I found the culprit!
I copied the filereading part without checking too good, and it had an
addslashes call which ruined the file content very professionaly.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
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 email attachment if it was already on the server.
now i
thanks again for your help,
Mike
- Original Message -
From: Jason Wong [EMAIL PROTECTED]
Newsgroups: php.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
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
] 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
of size 0 and always a txt file. I know it must be some little thing
wrong
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
PROTECTED];
[EMAIL PROTECTED]
Sent: Friday, April 04, 2003 1:21 PM
Subject: Re: [PHP] PHP Email Attachment problem
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
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 =
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
this form going
thanks a million, you've been a big help,
Mike
- Original Message -
From: Jason Wong [EMAIL PROTECTED]
Newsgroups: php.general
To: [EMAIL PROTECTED]
Sent: Thursday, April 03, 2003 11:48 AM
Subject: Re: [PHP] PHP Email Attachment problem
On Thursday 03 April 2003
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 not
[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
: 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
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, 2003 12:23 AM
Subject: Re: [PHP] PHP Email Attachment
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
Hello,
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 is greatly appreciated.
**The sendmail is a
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
Hello,
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 is greatly appreciated.
**The sendmail is a
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 is
?
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:33, Mike wrote:
I want to send an email attachment
hi all,
i m using php4.0.1
can anyone pls help me out, in doing email-attachment.
the code written for it, working and sending the email but the attachment is
not getting done.
Do we have to upload the file first, which is to be attached?
swati.
--
PHP General Mailing List
Do we have to upload the file first, which is to be attached?
No. When you press the submit button, just speak slowly and clearly where
the file is and PHP will understand you. What kind of video card do you
have?
---John Holmes...
--
PHP General Mailing List (http://www.php.net/)
To
On Thursday 02 May 2002 19:31, 1LT John W. Holmes wrote:
Do we have to upload the file first, which is to be attached?
No. When you press the submit button, just speak slowly and clearly where
the file is and PHP will understand you. What kind of video card do you
have?
I prefer faxing the
In article 001401c1f1cc$f5461dc0$2f7e3393@TB447CCO3,
[EMAIL PROTECTED] says...
Do we have to upload the file first, which is to be attached?
No. When you press the submit button, just speak slowly and clearly where
the file is and PHP will understand you. What kind of video card do you
Jason Wong wrote:
On Thursday 02 May 2002 19:31, 1LT John W. Holmes wrote:
Do we have to upload the file first, which is to be attached?
No. When you press the submit button, just speak slowly and clearly where
the file is and PHP will understand you. What kind of video card do you
Mauricio Sthandier [mailto:[EMAIL PROTECTED]]
Verzonden: vrijdag 1 februari 2002 20:45
Aan: [EMAIL PROTECTED]
Onderwerp: [PHP] Email Attachment
Hello, I'm new in php development... I was wondering how can I attach a
Word
(.doc) Document in an email sent with the mail() function (if I can do
Hello, I'm new in php development... I was wondering how can I attach a Word
(.doc) Document in an email sent with the mail() function (if I can do it
just with it).
I know it has to see with the additional headers of the email, but I would
be grateful If anyone could tell where can i go to for
.
-Oorspronkelijk bericht-
Van: Mauricio Sthandier [mailto:[EMAIL PROTECTED]]
Verzonden: vrijdag 1 februari 2002 20:45
Aan: [EMAIL PROTECTED]
Onderwerp: [PHP] Email Attachment
Hello, I'm new in php development... I was wondering how can I attach a
Word
(.doc) Document in an email sent
I know how to send a standard email, but I`m having a bit of trouble
adding
an attachment, can anyone put me right?
this is my code which works fine...
$subject="Hi";
$email="[EMAIL PROTECTED]";
$from="[EMAIL PROTECTED]";
$message="Hi this is me testing my PHP mail script";
Hi,
I know how to send a standard email, but I`m having a bit of trouble adding
an attachment, can anyone put me right?
this is my code which works fine...
$subject="Hi";
$email="[EMAIL PROTECTED]";
$from="[EMAIL PROTECTED]";
$message="Hi this is me testing my PHP mail script";
mail($email,
31 matches
Mail list logo