Re: PHP Email Attachment problem
| From: | Michael Arena | Date: | Fri, 04 Apr 2003 19:29:17 +0000 |
| Subject: | Re: PHP Email Attachment problem | ||
| References: | 1 2 3 4 5 6 7 8 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-142409@lists.php.net to get a copy of this message | ||
When I put change the line you suggested to "
Line25 $fileatt =
"/home/sites/webserver.agraservices.net/web/mike/$_POST['fileatt']";
$fileatt_type = $_FILES['fileatt']['type'];// Type of
file being sent
$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 Message -----
From: "Burhan Khalid" <phplist@meidomus.com>
Newsgroups: php.general
To: "Michael Arena" <marena@magnatechonline.com>;
<php-general@lists.php.net>
Sent: Friday, April 04, 2003 1:21 PM
Subject: Re: [PHP] PHP Email Attachment problem
> Michael Arena wrote:
> > did that...still sends only a file called ".txt" size zero ?????
>
> try replacing $fileatt with $_POST['fileatt']
>
>
>
> --
> Burhan Khalid
> phplist[at]meidomus[dot]com
>
>