image display in PHP when the image is in a remote directory
<p>I am learning PHP by myself for doing my final year project, but I cant figure it out how to display images on my website if the image is in my ftp.  I know how to do in html using local host, but I dont know how to do it on my specific remote host.</p>

<p>I am currently using the code:</p>

<pre><code>echo '&lt;img src="'.public_html/logo.gif.'" style=width:"' . 300 . 'px;height:' . 280 . 'px;"&gt;';
</code></pre>

<p>If I right click on the image on my directory and select copy url it gives me:</p>

<pre class="lang-none prettyprint-override"><code>ftp://smart206@smartdatabasesystem.com/public_html/logo.gif
</code></pre>

<p>but if I put all of that it still doesnt work. I am using lunar pages host recommended by w3schools.</p>

<p>If someone has any idea of how to fix my problem, please reply. I read some tutorials, my image display incorrectly. The website I started to develop is smartdatabasesystem.com</p>

<p>Thank you :-)</p>
