Peter:
Thanks. Another option is to just upload the file using ftp, then attach it to
the email once it’s on the server. It would be more trips to the server, but
might give me more control.
I’m not yet giving up and have to investigate the php.ini settings to see if
I’ve missed something.
Than
If you were doing this from an html form, the file in question would be
uploaded to the server's temp directory and the php script can access it
from there using the "tmp_name" key. I think the $_FILES array is created
as a result of the enctype setting. Not sure how you would replace all
that v
Folks:
Dave got me started, but I’m still confused, unfortunately. I am having trouble
seeing how the variables and data are passed from the POST command to the php
script. What I’m trying to reproduce is:
2097152){
$errors[]='File size must be excately 2 MB';
}
if(e
Dave:
That’s it! I knew there was something like that, but couldn’t remember it.
Thanks!
Bill
> On Jan 19, 2016, at 3:51 PM, Dave Cragg wrote:
>
> Bill,
>
> Take a look at libUrlMultipartForm and libUrlMultipartFormAddPart in the
> dictionary. There are examples there that might help you.
>
Bill,
Take a look at libUrlMultipartForm and libUrlMultipartFormAddPart in the
dictionary. There are examples there that might help you.
Cheers
Dave Cragg
> On 19 Jan 2016, at 22:44, William Prothero wrote:
>
> Folks:
> I’m setting up a php sendmail script using phpSendmail and I’m trying to
Folks:
I’m setting up a php sendmail script using phpSendmail and I’m trying to get
the file upload for attachments part working. The examples I find are in html
and the “type" is listed as “file”.
Basically, I’m trying to reproduce this, in a “post” command: