first question
when submitting a mime mailer with attachments i have the following snippet which should read the file, i can get the file name, size and type but as soon as i read it it gives me an error that it cant find it on the server. do i need to copy it first to the webserver and the read it from there?
if ($_FILES['somefile']['name']) {
$filename3= basename($_FILES['somefile']['name']);
$filetype3 = $_FILES['somefile']['type'];
$filesize3 = $_FILES['somefile']['size'];
$fp3 = fopen($filename3,"r");
$fileinc3 = fread($fp3,$$filesize3);
$fileinc3 = chunk_split(base64_encode($fileinc3));
$file3 = 'filename = '.$filename3 . 'filetype=' .$filetype3 .'filesize = '.$filesize3 .'info: '.$fileinc3;
} else $fileinc3 = "no attatchment"
so in short when creating a mime mailer with attachments is it neccesary to copy the files first to the webserver before reading it?
and my second question, where is the "resolve thread" button that use to be at the bottom of the thread (i know such a stupid question)
thanks for any help