Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 929373
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 15, 20262026-05-15T20:09:39+00:00 2026-05-15T20:09:39+00:00

I am facing a problem with FPDF while generating the PDF file with images

  • 0

I am facing a problem with FPDF while generating the PDF file with images as explained here. Finally I found the reason for this issue but I am not sure how to fix that one, can anybody suggest some good solution to handle that issue.

This problem is due to the allow_url_fopen setting of my server, if I enable that setting then the FPDF library is generating the PDF file with images also without any errors.

I am using this FPDF library for one of my client sites, he(client) disabled the ‘allow_url_fopen’ setting for security reasons and he is not intersted to enable that setting. how can I solve this issue with out enabling that setting of my server.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-15T20:09:40+00:00Added an answer on May 15, 2026 at 8:09 pm

    You can use CURL to open remote resources.

    $curlHandler=curl_init();
    
    curl_setopt($curlHandler, CURLOPT_URL, "http://youurl.com");
    
    curl_setopt($curlHandler, CURLOPT_HEADER,0);
    
    curl_setopt($curlHandler, CURLOPT_RETURNTRANSFER, 1);
    
    $output =curl_exec($curlHandler);
    
    ....
    
    curl_close($curlHandler);
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am facing problem while trying to open a simple text file in C#.
I am facing problem while GWT compilation. I am using ANT build file in
I am facing problem finding any solution for converting my PDF to HTMl/xml.This requirement
This time I am facing problem while performing dual operation on UIImageView means 1)
iam facing problem in passing array to view. this is my controller code.. function
I am facing problem while setting focus in EdiText. Below is my EditText property.
I am facing problem with the control flajaxian.FileUploader i.e. after downloading the dll file
I am facing problem while aligning two text, one in center and other text
Im facing problem with poor performance of css prompting mechanism. Can I dissable this
Hope you all fine.I am facing some sort of problem while passing multiple parameters

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.