Posts: 3,621
Name: Thierry
Location: I'm the uber Spaminator !
|
First:
All the folders you see from FTP have all a precise functions, don't delete them lightly.
As you guessed, the folder named WWW is the one where everything related to your site is stored.
In fact, it's a shortcut to public_html. the files are the same in both folder, so beware, if you delete from one, you won't have a copy in the other.
Now, for your problem precisely...
HTML is a describing language, that is interpreted by the browsers accessing your site. That means that you don't have all the datas needed to display your site in the .html files, but only the description about where to find them, and how to display them.
PHP is nothing more than an "extension" of HTML, allowing programmers to add logic into the pages, to modify it contents.
Now, when you add images to your pages, what you are doing in fact is telling the visitors browser where to find this image. And that means that you must upload the image into your www folder as well as your php/html file.
In fact, when you are designing a web site, you usually must upload every single files that compose your site to the server, into the www folder.
If you fail todo so, your users might have a "broken image" icon, telling them that a declared image could not be found at a specific location.
__________________
Only a biker knows why a dog sticks his head out the window.
|