Valuate Domain Names
DNForum - Domain Sales, Domain Forum, Domain Appraisals, Domain Registrars
HomeRegisterMembershipsGetting StartedDomain Tools Domain EbooksSEO Software Domain Resellers Advertise

Go Back   DNForum - Domain Sales, Domain Forum, Domain Appraisals, Domain Registrars > Content Development > Website Development and Design Discussion > Coding/Programming/Languages
Register Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
Old 02-20-2009, 12:41 PM   #1 (permalink)
Account Terminated
No Avatar
 
Last Online: 03-27-2009 08:04 PM
iTrader: (0)
Join Date: Feb 2009
Posts: 1
DNF$: 145


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???
mjuu is offline   Reply With Quote
Sponsored Ads
Old 03-01-2009, 10:05 AM   #2 (permalink)
.scot
 
ftaylor's Avatar
 
Name: Finbarr Taylor
Last Online: 10-25-2009 07:35 PM
iTrader: (4)
Join Date: Apr 2008
Posts: 468
DNF$: 4,244
Location: Glasgow
Country:


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.
__________________
GlasgowSEO.com is on auction on Sedo! Rank 2 on Google for 'glasgow seo'. CPC £3.35/$5.31. High advertiser competition. Glasgow is Scotland's largest city with over 1,000,000 inhabitants.

Last edited by ftaylor; 03-01-2009 at 10:08 AM..
ftaylor is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -5. The time now is 12:12 AM.
Copyright @2001-2009 DNForum.com