Can you then check if your server has the mod_headers enabled (Apache module who can modify the HTTP...
Also not with the new $headers array? Mmh, this doesn't look very good... Are you using an apache we...
Try also to replace your $header with the following code: $headers = array( 'Content-Type'=>'imag...
Hi, Just tested and it works perfect. So the problem -apparently- doesn't come from your code... It'...
Just last little trick to make it cleaner If the purpose of your function was to return just one str...
The Laravel portal for problem solving, knowledge sharing and community building.