[PHP] Attaching a PDF in email (no body text displays)

2005-07-21 Thread Ade Smith
I am attaching a PDF document to an email, this part works great, however to get this to work it prevents the text in the body of the message to be displayed, what am I doing wrong? Here is the code: $filename = confirmation.pdf; if(!($fp = fopen($filename, r))): $error =

RE: [PHP] Attaching a pdf in email (no body text displays)

2005-07-21 Thread Ade Smith
some comments inline. Ade Smith wrote: I am attaching a PDF document to an email, this part works great, however to get this to work it prevents the text in the body of the message to be displayed, what am I doing wrong? Here is the code $filename = confirmation.pdf; if(!($fp = fopen

[PHP] Attaching a pdf in email (no body text displays)

2005-07-20 Thread Ade Smith
I am attaching a PDF document to an email, this part works great, however to get this to work it prevents the text in the body of the message to be displayed, what am I doing wrong? Here is the code $filename = confirmation.pdf; if(!($fp = fopen($filename, r))): $error = Can't

[PHP] Detecting email bounces sent by the mail function?

2002-11-28 Thread Ade Smith
Hello Is it possible to detect with PHP whether an email sent using the PHP 'mail' function has bounced back or has not been delivered? I currently all ready check the email address using the 'ereg' function before the mail function is called, but this only checks the format is valid beforehand.

[PHP] fopen warning error message

2001-02-08 Thread Ade Smith
Hi I am trying to open a file which exists remotely(code works), but there may be times when it may not exist, however when I change the url so that it purposely doesn't exist to test this situation I get an error message like the following: Warning: fopen("remote_url","r") - No error in

[PHP] PHP List down ?

2001-01-29 Thread Ade Smith
Does anyone know why the list keeps going down ? The last PHP List email I received was at 6 o clock my time Sunday morning, until a few minutes ago. Its not the first time it has happened. Has the list gone down for anyone else ? Adrian -- PHP General Mailing List (http://www.php.net/) To