Reply to Re: Attachments and SendMail()

Your name:

Reply:


Posted by Todd Cary on 10/21/03 11:31

I figured it out! The base location for SendMail is the php directory.
Now that I think about it, that makes sense.

Todd

Todd Cary wrote:
> I have had to move an application for a client from a dedicated server
> to a shared server. On the dedicated server, the path to the
> attachements was an absolute address of
>
> "/home/sites/home/web/php/images/raceschd.pdf";
>
> and all worked fine when I gave that as the location of the attachement:
>
> if ($Attachment) {
> $mail->AddAttachment($Attachment);
> }
>
> Now I am not sure where/how to specify the location of the attachment.
> If anyone has experience with a shared server, I would appreciate any help.
>
> The URL to the site is
>
> http://64.202.163.82/s/f/y/sfycadmin/html/
>
> And with FTP that is the base or root. I have tried putting the file in
> that directory, but SendMail() does not appear to connect to it.
>
> Todd

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация