Re: Attachments

From: Date: Mon, 22 Apr 2002 22:34:20 +0000
Subject: Re: Attachments
Groups: php.general 
Request: Send a blank email to php-general+get-94079@lists.php.net to get a copy of this message
I actually was using other scripts I'd found, written by different authors. I did this to try to save time, but this hasn't been the case. All I was looking to do was have someone fill out a form, hit submit, and I would have the contents of the form e-mailed to me, and any attachments would be sent as well. I think that since that last upload script works and the two scripts that sent the attachments via e-mail didn't work, I'm just going to try my hand at writing my own script using the mail() function. I'll just have the script e-mail me the form contents and upload the files to an incoming directory with a timestamp prefix, so I can match the e-mails with the uploads. This should be a fairly straightforward task, correct? Jason Soza ----- Original Message ----- From: Jason Wong <php-general@gremlins.com.hk> Date: Monday, April 22, 2002 0:54 am Subject: Re: [PHP] Attachments <snip> > 1) Did *you* write both the php & perl scripts? Just checking, if > you wrote > both, then you might have made the same mistake in both ;-) If > they're by > independent authors then the chances of the same mistake are > slightly lower. > > 2) Just to really confirm that the upload process is not the > problem can you > try sending a local existing file using your scripts? > > 3) In your scripts I can't see where the attachments (ie the > files) gets > encoded to base64. Have I missed something? > > -- > Jason Wong -> Gremlins Associates -> www.gremlins.com.hk > Open Source Software Systems Integrators > * Web Design & Hosting * Internet & Intranet Applications > Development * > > /* > Who are you? > */ </snip>

« previous php.general (#94079) next »