|
Posted by Els on May 1, 2005, 12:12 am
Please log in for more thread options
mick wrote:
show/hide quoted text
> Hello,
> Need a little help from someone out here. I am currently using a webhosting
> company that is using cpanel. Lets say that all my gif and index.html page
> are in the public_html directory and then I created a new directory called
> test and changed permission to 755. Inside that directory I have a new file
> called car.html. Now inside the car.html file I want some gifs that I have
> in the public_html directory so would not the path in the car.html be
> public_html/picture.gif?
No. public_html is the root. So any and all files and images need to
be inside the public_html folder.
If car.html is in public_html/test/ and the picture.gif is in
public_html, the path would be /picture.gif or ../picture.gif.
If I'm mistaken and the directory called 'test' is not inside
public_html, then that's wrong - all files and directories on your
website must be inside public_html.
show/hide quoted text
> thank you for your help
You're welcome :-)
--
Els http://locusmeus.com/ Sonhos vem. Sonhos vão. O resto é imperfeito.
- Renato Russo -
|
> Need a little help from someone out here. I am currently using a webhosting
> company that is using cpanel. Lets say that all my gif and index.html page
> are in the public_html directory and then I created a new directory called
> test and changed permission to 755. Inside that directory I have a new file
> called car.html. Now inside the car.html file I want some gifs that I have
> in the public_html directory so would not the path in the car.html be
> public_html/picture.gif?