file access to "virtual files"
| From: | merlin | Date: | Mon, 09 Feb 2004 08:23:24 +0000 |
| Subject: | file access to "virtual files" | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-177186@lists.php.net to get a copy of this message | ||
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