[SOLVED] Scriptcase Image FTP

I was wondering if I can show/display image in a blank application taken from a server using FTP.
I cant seem to display anything…
This is my image code:

$imageName = $_GET[‘imageName’];
header(‘Content-Type: application/octet-stream’);
echo file_get_contents('ftp://user:pass@ip/images/’+$imageName);

Hello,
I just made it to
echo file_get_contents(‘ftp://user:pass@ip/images/$imageName’);

cant everyone see your FTP credentials now if they just inspect the element?

No they cant… just call it from another application…