What kind of friends my problem is this.
I have a Server A where I have images, I have a server B which is the server of the applications, both servers are connected to a network and server A has a folder shared with server B with the letter V:
If I want to show a photo in my browser access like this:
$ubicacion = 'V:/Fotos/imagen.jpg';
$content = file_get_contents($ubicacion);
header("Content-Type: image/jpeg");
echo $content;
I do not know if it's server A permission issues or there's a way to display the photo and save it to server B