Nuts & Bolts for any eCommerce site
How it all comes together
Heres what you are looking for

Embedded Images using FPDF and Classic ASP

Facebook
Twitter
Reddit
LinkedIn

When creating dynamic PDFs in ASP, we typically use the FPDF procedure. I received a task to create a dynamic coupon, so what’s the first thing I do? Implement FPDF of course.

After formatting the coupon, I began to test. Upon testing I encountered unusual errors. The PDF format was being corrupted seemingly by the background image. After some research, even the procedure documentation had no reference to this type of issue, leaving me no good source for troubleshooting.

After reaching a level of increased frustration, I came to the realization that some aspect of FPDF requires a fully-qualified domain name. So if you are using this procedure to develop dynamic PDFs and begin encountering unusual problems, simply upload it to a live server before going “Office Space” on your PC.

Source: Skynet Solutions

By Matt Maennche

More Articles

WooCommerce

Migrating to WooCommerce

There are times when an online business will run into too many obstacles with their website platform and feel like it’s a time to change. Whatever the reasoning may be

Read More »

Need eCommerce web support?

Give us a shout today! We won't bite.....hard.