RE: CGI Urgent

From: Date: Wed, 03 Oct 2001 15:27:28 +0000
Subject: RE: CGI Urgent
Groups: php.db 
Request: Send a blank email to php-db+get-12968@lists.php.net to get a copy of this message
I apologize for answering a day late, but I get only the digest version of this list. If you can use PHP instead of PERL, the following article will point you in the right direction. If you cannot use PHP, this article should provide you with the background knowledge you need to send the attachment through PERL. http://www.phpbuilder.com/columns/kartic20000807.php3 =========================== Subject: CGI Urgent From: "elan" <elan@indax.com> Date: Tue, 2 Oct 2001 12:37:58 +0530 X-Message-Number: 1 Hi list, How can i attach a file in mail program thru CGI? I did like that. =========== open(MAIL, "|$mail -t") or die "Can't open $mail\n"; print MAIL "From: $sender\n"; print MAIL "Date: $date\n"; print MAIL "To: $email\n"; print MAIL "Cc: $ccmail\n"; print MAIL "Attach: $path\n"; print MAIL "Subject: $subject\n\n"; print MAIL "$mailbody"; close(MAIL); =========== Is there any think worng? Attachment is not coming. Thanks Elan

« previous php.db (#12968) next »