Error generating image report

0

I have a code that has multiple photos separated by reports. Each report can have any number of photos. When you click the button to generate this report, if you have several photos (around 60) it starts to generate errors instead of generating it. I'm not sure why, but when the report is small these errors disappear.

The message that appears is as follows:

  

Message:   fopen ( link ):   failed to open stream: HTTP request failed! HTTP / 1.1 404 Not Found

My code is in Codeigniter, and all photos are saved to my database, along with your reports.

The line that appears the error is as follows:

$f->caminho_img = $l->caminho_img [0];
$ponteiro = fopen("http://site.com/imagens/" . $f->caminho_img . ".txt", true);
    
asked by anonymous 26.10.2015 / 11:49

0 answers