Re: email attachment problem



Thanks for the suggestion.

it turns out I just needed to remove the {} brackets around the file
name.

But thanks for helping.

Dan

pierro wrote:
hi,

try http://nl3.php.net/str_replace

grtz


owen_meany@xxxxxxxxxxxxxx schreef:

I'm new to PHP, so forgive me.

I'm trying to create a simple form that will send an email with a file
attachment. I downloaded the following code:

http://www.sitepoint.com/article/advanced-email-php

and it works. But for some reason, the attached file has underscores
before and after the file name. Ex, if I'm attaching file xyz,pdf, it
shows up as _xyz.pdf_ in the email.

For the life of me, I can't figure out how to remove the underscores.

I hope this is a simple fix.

Thanks

Dan

.



Relevant Pages

  • Re: email attachment problem
    ... owen_meany@xxxxxxxxxxxxxx schreef: ... I can't figure out how to remove the underscores. ... I hope this is a simple fix. ...
    (php.general)
  • RE: Insert File: Problem with formulas with text
    ... "amac" schreef: ... > When I do an insertfile in Word from a excel-cell which contains a formula ... > (underscores) are shown instead of the result of the formula ...
    (microsoft.public.word.conversions)