00stuff Posted September 29, 2011 Share Posted September 29, 2011 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, Quote Link to comment https://forums.phpfreaks.com/topic/248136-trying-to-get-image-from-ftp-server-with-php-and-displaying-it-in-webpage/ Share on other sites More sharing options...
mikesta707 Posted September 29, 2011 Share Posted September 29, 2011 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 Quote Link to comment https://forums.phpfreaks.com/topic/248136-trying-to-get-image-from-ftp-server-with-php-and-displaying-it-in-webpage/#findComment-1274186 Share on other sites More sharing options...
00stuff Posted September 29, 2011 Author Share Posted September 29, 2011 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. Quote Link to comment https://forums.phpfreaks.com/topic/248136-trying-to-get-image-from-ftp-server-with-php-and-displaying-it-in-webpage/#findComment-1274195 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.