Hello,
I am developing a site with Codeigniter 2.1.3.
I am creating a pdf file with mpdf and I save the file in a folder outside the root folder.
So my folders look like this:
c:/mysite/uploads/mypdffile.pdf
c:/mysite/public_html
I looked at all kind of tutorials and forum posts about the php header function, but I can't understand how to use it to get the file.
I am using: $mail->AddAttachment($mypdf)
but how do I get the file if it is in a folder outside the root folder?
Can someone please help?
Thank you