Click here to Skip to main content
15,885,216 members
Home / Discussions / Linux, Apache, MySQL, PHP
   

Linux, Apache, MySQL, PHP

 
GeneralRe: send data Pin
cjoki25-Mar-11 2:52
cjoki25-Mar-11 2:52 
GeneralRe: send data Pin
Elham M25-Mar-11 3:15
Elham M25-Mar-11 3:15 
GeneralRe: send data Pin
cjoki25-Mar-11 3:32
cjoki25-Mar-11 3:32 
GeneralRe: send data Pin
Elham M25-Mar-11 7:05
Elham M25-Mar-11 7:05 
GeneralRe: send data Pin
cjoki25-Mar-11 10:02
cjoki25-Mar-11 10:02 
GeneralRe: send data Pin
Elham M25-Mar-11 21:17
Elham M25-Mar-11 21:17 
GeneralRemove a File Using PHP Pin
Haroon Mughal23-Mar-11 2:35
Haroon Mughal23-Mar-11 2:35 
GeneralRe: Remove a File Using PHP Pin
Joan M30-Mar-11 7:48
professionalJoan M30-Mar-11 7:48 
GeneralPHP Tips By Google Master Pin
Haroon Mughal23-Mar-11 2:33
Haroon Mughal23-Mar-11 2:33 
GeneralPHP performance tips Pin
Haroon Mughal23-Mar-11 2:32
Haroon Mughal23-Mar-11 2:32 
Questioncss and link styles Pin
Joan M22-Mar-11 4:59
professionalJoan M22-Mar-11 4:59 
AnswerRe: css and link styles Pin
Luc Pattyn22-Mar-11 5:25
sitebuilderLuc Pattyn22-Mar-11 5:25 
QuestionWhy do images are not shown? Pin
Joan M21-Mar-11 5:43
professionalJoan M21-Mar-11 5:43 
AnswerRe: Why do images are not shown? Pin
Luc Pattyn21-Mar-11 5:50
sitebuilderLuc Pattyn21-Mar-11 5:50 
GeneralRe: Why do images are not shown? Pin
Joan M21-Mar-11 6:10
professionalJoan M21-Mar-11 6:10 
GeneralRe: Why do images are not shown? Pin
Luc Pattyn21-Mar-11 6:22
sitebuilderLuc Pattyn21-Mar-11 6:22 
GeneralRe: Why do images are not shown? Pin
Joan M21-Mar-11 6:22
professionalJoan M21-Mar-11 6:22 
AnswerRe: Why do images are not shown? Pin
Luc Pattyn21-Mar-11 6:24
sitebuilderLuc Pattyn21-Mar-11 6:24 
GeneralRe: Why do images are not shown? Pin
Joan M21-Mar-11 6:47
professionalJoan M21-Mar-11 6:47 
GeneralRe: Why do images are not shown? Pin
Luc Pattyn21-Mar-11 6:52
sitebuilderLuc Pattyn21-Mar-11 6:52 
GeneralRe: Why do images are not shown? Pin
Joan M21-Mar-11 7:09
professionalJoan M21-Mar-11 7:09 
GeneralRe: Why do images are not shown? Pin
Luc Pattyn21-Mar-11 7:17
sitebuilderLuc Pattyn21-Mar-11 7:17 
QuestionRe: Why do images are not shown? Pin
Joan M21-Mar-11 7:30
professionalJoan M21-Mar-11 7:30 
AAAARGH!

Of course it has worked well from the files that are in the root directory:

- root
-- images
-- templates


How do you solve the fact that there are files that are not in the root folder?

In my case I have index.php as a file that is being used as a template from multiple languages... then it happesn that it is being called (included) from different folders. Once this happens... then problems start...

index.php is at the root folder and it can access without trouble the images that are inside the "images" folder.
but any of the files that is being used inside any of the other folders i.e. index.php (when it is included from another folder) then I would need to use "../images/file.png".

How could I get the root of the web page folder? and then use it in order to load images?

Thank you in advance!
[www.tamelectromecanica.com] Robots, CNC and PLC machines for grinding and polishing.

AnswerRe: Why do images are not shown? Pin
Luc Pattyn21-Mar-11 7:43
sitebuilderLuc Pattyn21-Mar-11 7:43 
QuestionPHP vs ASP.net Pin
m_7tem20-Mar-11 11:05
m_7tem20-Mar-11 11:05 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.