$encoding must be something from the PHPMailer script which is just meant to do the email side of things, I don't believe I have to declare it anywhere. As for my original code, I had specified both as I'd read that it may have been causing an issue to not refer to both the temporary file and the original file. I can't seem to find an example online for the exact purpose I need, which is surprising
Reply to this topic
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.