Welcome to Welcome to DNF.com™ - Domain Sales, Domain Forum, Domain Appraisals, Domain Registrars

If you are new to domains and looking to buy, sell and learn about domains then you have come to the right place. DNForum is the largest domain name community on the internet and continues to grow every day. There are over 105,000 domainers on DNForum doing everything from buying domains, selling domains, learning about domains and discussing domains. Take a minute and Register.

Register Today on DNForum IT'S FREE!

Results 1 to 2 of 2
  1. #1
    Account Terminated
    Join Date
    Feb 2009
    Posts
    1
    DNF$
    187
    Bank
    0
    Total DNF$
    187
    Donate  

    need some help please

    I have a free forum and want to add some user rank images.but it says it should be relative to phpbb2 root path.I dont understand it and my english is not very good. can someone help me please???

  2. #2
    .scot
    ftaylor's Avatar
    Join Date
    Apr 2008
    Location
    Glasgow
    Posts
    473
    DNF$
    4,580
    Bank
    0
    Total DNF$
    4,580
    Donate  
    Lets say your server has a file structure like this:
    Code:
    /home/your_account_name/public_html/phpbb2/images/an_image.png
    
    (ABSOLUTE) phpbb2 root path =  /home/your_account_name/public_html/phpbb2/
    If you want to access files RELATIVE to that root path, they can be srced directly such as <img src=images/an_image.png>. It just means, if you want to src an image file, you only need to provide the part of the file location that is after the phpbb2/ folder.

    An alternative file structure: What if you have the images folder outside of the phpbb2 folder?
    Code:
    /home/your_account_name/public_html/phpbb2/
    /home/your_account_name/public_html/images/
    to access the images folder from the phpbb2 root folder you need to specify the file source like this:
    
    src="../images/an_image.png" - the ".." means go up one folder.
    Hope this helps.
    Last edited by ftaylor; 03-01-2009 at 10:08 AM.
    www.musicdownloads.tv for sale, taking offers.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

Domain name forum recommended by Domaining.com