$fileatt_name = $_FILES['fileatt']['name'];// Name of
file
"
I get the following error:
"Parse error: parse error, expecting `T_STRING' or `T_VARIABLE' or
`T_NUM_STRING' in /home/sites/home/web/upload.php on line 25"
???
- Original Mes
did that...still sends only a file called ".txt" size zero ?
thanks for the help,
mike
- Original Message -
From: "Burhan Khalid" <[EMAIL PROTECTED]>
Newsgroups: php.general
To: "Michael Arena" <[EMAIL PROTECTED]>;
<[EMAIL PROTECTED]&g
: base64\n\n" .
$data . "\n\n" .
"--{$mime_boundary}--\n";
}
mail($to, $subject, $message, $headers);
echo "Thanks for sending mail";
?>
-end upload.php code
thanks again for your help,
Mike
- Origin
p.general
To: <[EMAIL PROTECTED]>
Sent: Friday, April 04, 2003 1:36 AM
Subject: Re: [PHP] PHP Email Attachment problem
> On Friday 04 April 2003 06:10, Michael Arena wrote:
> > Made some progress today. Found an attachment script in the archives. I
> > was able to send an
$data . "\n\n" .
"--{$mime_boundary}--\n";
}
mail($to, $subject, $message, $headers);
echo "Thanks for sending mail";
?>
---end upload.php code-
any suggestions on how to get this form going
thanks a million, you
2003 12:23 AM
Subject: Re: [PHP] PHP Email Attachment problem
> On Wednesday 02 April 2003 04:19, Michael Arena wrote:
> > the only difference in the server setup is on my remote server it's a
RAQ
> > and locally i'm using Xitami with PHP. I don't understand why it won
the only difference in the server setup is on my remote server it's a RAQ
and locally i'm using Xitami with PHP. I don't understand why it won't send.
I get the email over the RAQ but no attachment...are there any other
settings that could differ that I would need to set? Like in the php.ini
file?
7 matches
Mail list logo