Jump to content

Trying to get image from ftp server with php and displaying it in webpage.


00stuff

Recommended Posts

Hi guys,

I have a page that lets you upload an image to a an ftp server. Now I am trying to create a page that will get those images and display them in a web page. I am trying to do this with php.

 

Does anyone know if it can be done?

 

Thanks guys,

I would start with this page in the manual: http://www.php.net/manual/en/ftp.examples-basic.php

 

it describes how PHP implements the ftp protocol and basic usage. Reading the comments below will also give you some insight

I had already gone over those pages and examples. I know how to upload and download a file from the ftp. What I can't figure out is how to get the image from the ftp using php and then display it on a php page with the html tag <img src="">. I don't even know if i can use the <img src=""> tag or if it would have to be done a different way. I have been looking around the web for examples and I haven't found one yet.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.