I tried to display a picture stored in the public_ftp folder of my hosting domain as follow
$connect = ftp_connect("ftp.mydomain");
$result = ftp_login($connect, "username", "password");
$a = ftp_nlist($connect, "myfolder");
foreach($a as $value){
echo "<img src='".$value."'></img><BR>";}
another attempt
echo "<img src='ftp://username:password@mydomain.org/myfolder/mypicture.png'> </img>"
myfolder is located in public_ftp not in public_html.
can anyone have an idea on how to display a pictures stored in ftp server?