[PHP-DB] semi newbie Q

2001-08-08 Thread Travis Cannell

Here is a quick question. Cane the mail() function handle file attachments?
I couldnt find anything like that on the PHP reference but maybe someone
knows out there.  If not does anyone have any simple scripts that will allow
me to do this?

Cheers,
T P K Cannell



-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




RE: [PHP-DB] semi newbie Q

2001-08-08 Thread Beau Lebens

no it can't directly, but there are plenty of mail classes out there which
will allow you to handle mime-types, attachments and other stuff.

have a look on phpbuilder.com and phpclass.something? cant remember, run
by a guy called manuel lemos if that helps... search for mail, and you
should find something good :)

HTH

Beau


// -Original Message-
// From: Travis Cannell [mailto:[EMAIL PROTECTED]]
// Sent: Thursday, 9 August 2001 10:44 AM
// To: [EMAIL PROTECTED]
// Subject: [PHP-DB] semi newbie Q
// 
// 
// Here is a quick question. Cane the mail() function handle 
// file attachments?
// I couldnt find anything like that on the PHP reference but 
// maybe someone
// knows out there.  If not does anyone have any simple scripts 
// that will allow
// me to do this?
// 
// Cheers,
// T P K Cannell
// 
// 
// 
// -- 
// PHP Database Mailing List (http://www.php.net/)
// To unsubscribe, e-mail: [EMAIL PROTECTED]
// For additional commands, e-mail: [EMAIL PROTECTED]
// To contact the list administrators, e-mail: 
// [EMAIL PROTECTED]
// 

-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP-DB] semi newbie Q

2001-08-08 Thread Travis Cannell

Thanks for the advice.  I found a good PHP mail class that does this but
when i run the example all i get is a CGI error.  It says

The specified CGI application misbehaved by not returning a complete set of
HTTP headers. The headers it did return are:

and thats it.  I am running a windows 200 server.. this might have something
to do with it.  I remember getting this error with other scritps but i cant
get this one to go away.  Any suggestions?

Thanks

T P K Cannell

Beau Lebens [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
 no it can't directly, but there are plenty of mail classes out there which
 will allow you to handle mime-types, attachments and other stuff.

 have a look on phpbuilder.com and phpclass.something? cant remember, run
 by a guy called manuel lemos if that helps... search for mail, and you
 should find something good :)

 HTH

 Beau


 // -Original Message-
 // From: Travis Cannell [mailto:[EMAIL PROTECTED]]
 // Sent: Thursday, 9 August 2001 10:44 AM
 // To: [EMAIL PROTECTED]
 // Subject: [PHP-DB] semi newbie Q
 //
 //
 // Here is a quick question. Cane the mail() function handle
 // file attachments?
 // I couldnt find anything like that on the PHP reference but
 // maybe someone
 // knows out there.  If not does anyone have any simple scripts
 // that will allow
 // me to do this?
 //
 // Cheers,
 // T P K Cannell
 //
 //
 //
 // --
 // PHP Database Mailing List (http://www.php.net/)
 // To unsubscribe, e-mail: [EMAIL PROTECTED]
 // For additional commands, e-mail: [EMAIL PROTECTED]
 // To contact the list administrators, e-mail:
 // [EMAIL PROTECTED]
 //



-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




RE: [PHP-DB] semi newbie Q

2001-08-08 Thread Beau Lebens

sounds like you are running php as a cgi on IIS, suggestions;

1. run php as a module on apache :) (yes it works on win2k)
2. your code is incorrect, try doing some debugging throught your code (ie.
echo $variables or something to make sure things are right)

HTH

// -Original Message-
// From: Travis Cannell [mailto:[EMAIL PROTECTED]]
// Sent: Thursday, 9 August 2001 11:34 AM
// To: [EMAIL PROTECTED]
// Subject: Re: [PHP-DB] semi newbie Q
// 
// 
// Thanks for the advice.  I found a good PHP mail class that 
// does this but
// when i run the example all i get is a CGI error.  It says
// 
// The specified CGI application misbehaved by not returning a 
// complete set of
// HTTP headers. The headers it did return are:
// 
// and thats it.  I am running a windows 200 server.. this 
// might have something
// to do with it.  I remember getting this error with other 
// scritps but i cant
// get this one to go away.  Any suggestions?
// 
// Thanks
// 
// T P K Cannell
// 
// Beau Lebens [EMAIL PROTECTED] wrote in message
// [EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
//  no it can't directly, but there are plenty of mail classes 
// out there which
//  will allow you to handle mime-types, attachments and other stuff.
// 
//  have a look on phpbuilder.com and phpclass.something? 
// cant remember, run
//  by a guy called manuel lemos if that helps... search for 
// mail, and you
//  should find something good :)
// 
//  HTH
// 
//  Beau
// 
// 
//  // -Original Message-
//  // From: Travis Cannell [mailto:[EMAIL PROTECTED]]
//  // Sent: Thursday, 9 August 2001 10:44 AM
//  // To: [EMAIL PROTECTED]
//  // Subject: [PHP-DB] semi newbie Q
//  //
//  //
//  // Here is a quick question. Cane the mail() function handle
//  // file attachments?
//  // I couldnt find anything like that on the PHP reference but
//  // maybe someone
//  // knows out there.  If not does anyone have any simple scripts
//  // that will allow
//  // me to do this?
//  //
//  // Cheers,
//  // T P K Cannell
//  //
//  //
//  //
//  // --
//  // PHP Database Mailing List (http://www.php.net/)
//  // To unsubscribe, e-mail: [EMAIL PROTECTED]
//  // For additional commands, e-mail: [EMAIL PROTECTED]
//  // To contact the list administrators, e-mail:
//  // [EMAIL PROTECTED]
//  //
// 
// 
// 
// -- 
// PHP Database Mailing List (http://www.php.net/)
// To unsubscribe, e-mail: [EMAIL PROTECTED]
// For additional commands, e-mail: [EMAIL PROTECTED]
// To contact the list administrators, e-mail: 
// [EMAIL PROTECTED]
// 

-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]