hi thr
i have made a small application for a company.. the whole process is that a user comes n fills out a form..the info is saved in a database ... then users name, address and some other info is taken and used to create a dynamic pdf which i have done..and finally this pdf is emailed to the user.
i have created the pdf using some ezPdf classes i found on net.. and now im tryen to email it using mime_mail.php but i get an error sayen that fatal error at send() method or something...lemme clear out the process
i have 2 fles one is register.php this file simply inserts the info in db and then calls a function of another class caled pdfCreation.php which has a function to create pdf.. this file creates pdf and if i try to print the pdf in the browser i get an error sayen header info already sent.. no wat i did was not to show the pdf in the browser instead mail it after creation but i got the error i told u abt b4...
any help wud b appreciated
pdf email
Moderator: General Moderators
Ill Make it simple
well i think pasting so much code here wont b a good idea well jus gimme an answer for this Q
i have a variable $pdf and it contains my pdf file i have created dynamically...now i don want to save this file on my disk all i want is to email this to the user and thats it... no more use for this $pdf...can u temme how to email it as an attachment atleast?
thank u
i have a variable $pdf and it contains my pdf file i have created dynamically...now i don want to save this file on my disk all i want is to email this to the user and thats it... no more use for this $pdf...can u temme how to email it as an attachment atleast?
thank u