Hi there,

there is following scenario:
- One php file saved with .pdf extension
- .htaccess tells php to parse this file
- ?ID=x provides the database id for individual files

That whole thing workes perfectly as long as you access it via browser and URL.

Now I need to save those files, or send them as an email attachement.
I am using a phpmailer class. When I try to access the file with the ? and parameters email transaction failes.


$mail->AddAttachment('/invoice-sample.pdf?id='.$sl[ID], "invoice.pdf");

Has anybody an idea how to solve this or where the problem lives?

Thank you for any suggestion on that,

Merlin

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Reply via email to