On Thursday 25 November 2004 01:27, Justin Palmer wrote: > <? > //Get the output and send the email send_mail.php > //uses the class MIME_mail (http://www.cetusa.org/temp/MIME.class.phps) > //WARNING I know that this is not how it is intended to be used, > //but this is the what I want to accomplish. > $fp = fopen(create_pdf.php);
This is going to open 'create_pdf.php' via the local filesystem. > $pdf = fpassthru($fp);//actually returns the number of characters read, Here you've stored the contents of 'create_pdf.php' into $pdf which is definitely not what you want. > Any help on this would be great. If you know of some search terms that > would get me going in the right direction that would be great also (I > don't mind doing the research). If fpdf does not allow its output to be saved directly to file then use the output buffering functions to capture the output. Examples in manual (as usual). -- Jason Wong -> Gremlins Associates -> www.gremlins.biz Open Source Software Systems Integrators * Web Design & Hosting * Internet & Intranet Applications Development * ------------------------------------------ Search the list archives before you post http://marc.theaimsgroup.com/?l=php-general ------------------------------------------ /* I feel sorry for your brain... all alone in that great big head... */ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php