Hi i am using tcpdf and last 2 days showing error
imagecreatefrompng() failed to open stream: HTTP request failed
I am using on same server
imagecreatefrompng("http://fresheats.com/images/watermark.png");
Answer (1)
hi
firstly load image or file at local using
file_get_contents(); php function
ex :
$x = file_get_contents(("http://fresheats.com/images/watermark.png");
imagecreatefrompng($x);
It will work.