Jump to content

php to PDF / file_get_contents


hey_suburbia

Recommended Posts

I'm trying to get my php generated page into a PDF.

 

I've tried fPDF, but found it too tedious to create all of the dynamic tables/images I'll use.

 

I then tried to use free online tools that create html to PDF on the fly.

 

My problem is that the online tools give me back just my static html not my php generated content.  I even get php errors...

When I view the source of my php in question, I see the normal html format (no php).

 

I even tried to use file_get_contents and all I get is generic html with my url in a frameset??...

 

I need to somehow grab the html that creates all the tables/info and extract that, can anybody lean me in the right direction.

 

Thanks

Link to comment
https://forums.phpfreaks.com/topic/99063-php-to-pdf-file_get_contents/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.