Jump to content

Recommended Posts

i mean. i have tried taking in CSS and images in html and converting to pdf.

 

what i do is, i extract info from database. show that on a separate page and then pass the url of that php page to:

 

 

$fp = fopen(URL,"r");

$strContent = fread($fp, filesize(URL));

 

 

so that it can take in the html from that file and convert that to pdf.

if there is any image in that file. will it get converted to pdf as well?

 

I have attached a pdf dynamically created by me.  also, pls help me with inserting css or styling to it. :)

 

[attachment deleted by admin]

Link to comment
https://forums.phpfreaks.com/topic/88879-insert-image-in-pdf/#findComment-455942
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.