The code for PDF attachment (system generated)via Email
The code for PDF attachment (system generated)via Email
Collapse
X
-
-
You know what, I have the answer, but I'm going to straight refuse to give it to you because:
1. your title and body are exactly the same, you don't convery any more information about exactly what you're trying to ask.
2. You didn't ask a question, you posted a fragment of a sentence, a statement. It's not a question, and it's stated in such a way as if you expect people to just give it to you. This site is about learning, not being given everything.
3. You did all this in your first post to the site.
Ask a real question, explain what you want in the body, and I might be more inclined to help.
Sorry if this annoys anyone, I'm just frustrated by this kind of thing, I just had an attack of sorts on my site with users registering random usernames and posting 1 word threads with the same title and body. I hate it.Comment
-
You know what, I have the answer, but I'm going to straight refuse to give it to you because:
1. your title and body are exactly the same, you don't convery any more information about exactly what you're trying to ask.
2. You didn't ask a question, you posted a fragment of a sentence, a statement. It's not a question, and it's stated in such a way as if you expect people to just give it to you. This site is about learning, not being given everything.
3. You did all this in your first post to the site.
Ask a real question, explain what you want in the body, and I might be more inclined to help.
Sorry if this annoys anyone, I'm just frustrated by this kind of thing, I just had an attack of sorts on my site with users registering random usernames and posting 1 word threads with the same title and body. I hate it.
I agree with you one hundred percent.
I am a complete noob but i stumbled across this and thought it was very selfish.
I actually would like to know how that can be done as i am building a simple admin management system and would like a form to be converted into a pdf and then an option to email to other staff the pdf attachement would be there.
I currently have shared hosting though and have since realized that PDF lib or any other such packages are not installed. They told me to use i think Pear?
Can you shed any light on this please?
Re Cap:
- Create form: ( I can do this)
- Create PHP File to Convert posted form data to a pdf
- How to attach created PDF to new Post form
Comment
-
I personally avoid PEAR for two reasons.
It always seems to be a version behind PHP causing deprecation errors, and when PEAR does upgrade it has no compunction about removing functions you may have employed with legacy code.
For PDF look at FPDF or ezPDF.
Email look at Swiftmailer and phpmailerComment
Comment