Click here to Skip to main content
15,887,812 members
Home / Discussions / Web Development
   

Web Development

 
QuestionApplication Hosting Pin
pix_programmer25-Mar-12 23:55
pix_programmer25-Mar-12 23:55 
AnswerRe: Application Hosting Pin
Wayne Gaylard26-Mar-12 0:55
professionalWayne Gaylard26-Mar-12 0:55 
GeneralRe: Application Hosting Pin
pix_programmer26-Mar-12 1:26
pix_programmer26-Mar-12 1:26 
GeneralRe: Application Hosting Pin
Wayne Gaylard26-Mar-12 4:41
professionalWayne Gaylard26-Mar-12 4:41 
AnswerRe: Application Hosting Pin
Mohibur Rashid26-Mar-12 19:04
professionalMohibur Rashid26-Mar-12 19:04 
QuestionFacebook Chat API Pin
Masihur25-Mar-12 19:51
Masihur25-Mar-12 19:51 
AnswerRe: Facebook Chat API Pin
Wayne Gaylard25-Mar-12 21:50
professionalWayne Gaylard25-Mar-12 21:50 
QuestionSOLVED :: $_SERVER['DOCUMENT_ROOT'] in php behaving different in my EasyPHP test server and in the production server... Pin
Joan M22-Mar-12 4:10
professionalJoan M22-Mar-12 4:10 
QUESTION

Hello all,

I have some extra folders in which I have some special php files...

In all the normal folders that are used for the web everything works as expected, but in the case of some of those folders the following code won't work as the result is wrong...

include($_SERVER['DOCUMENT_ROOT'].'/XXX.php');


What can be happening here?

As far as I know the $_SERVER variable depends on the server and folders should not affect it...

Thank you in advance! Thumbs Up | :thumbsup:

SOLUTION
See my answer to Peter_in_2780 below...

Thank you for reading!
[www.tamautomation.com] Robots, CNC and PLC machines for grinding and polishing.


modified 23-Mar-12 4:55am.

AnswerRe: $_SERVER['DOCUMENT_ROOT'] in php behaving different in my EasyPHP test server and in the production server... Pin
Peter_in_278022-Mar-12 11:04
professionalPeter_in_278022-Mar-12 11:04 
GeneralRe: $_SERVER['DOCUMENT_ROOT'] in php behaving different in my EasyPHP test server and in the production server... Pin
Joan M22-Mar-12 22:54
professionalJoan M22-Mar-12 22:54 
GeneralRe: $_SERVER['DOCUMENT_ROOT'] in php behaving different in my EasyPHP test server and in the production server... Pin
Peter_in_278025-Mar-12 14:28
professionalPeter_in_278025-Mar-12 14:28 
GeneralRe: $_SERVER['DOCUMENT_ROOT'] in php behaving different in my EasyPHP test server and in the production server... Pin
Joan M25-Mar-12 20:16
professionalJoan M25-Mar-12 20:16 
QuestionSOLVED :: I don't understand a black stripe on my web site... any tool/advice that could help me? Pin
Joan M22-Mar-12 0:28
professionalJoan M22-Mar-12 0:28 
AnswerRe: I don't understand a black stripe on my web site... any tool/advice that could help me? Pin
Mohibur Rashid22-Mar-12 3:32
professionalMohibur Rashid22-Mar-12 3:32 
GeneralRe: I don't understand a black stripe on my web site... any tool/advice that could help me? Pin
Joan M22-Mar-12 4:14
professionalJoan M22-Mar-12 4:14 
GeneralRe: I don't understand a black stripe on my web site... any tool/advice that could help me? Pin
Mohibur Rashid22-Mar-12 20:33
professionalMohibur Rashid22-Mar-12 20:33 
GeneralRe: I don't understand a black stripe on my web site... any tool/advice that could help me? Pin
Joan M22-Mar-12 21:30
professionalJoan M22-Mar-12 21:30 
GeneralRe: I don't understand a black stripe on my web site... any tool/advice that could help me? Pin
User 171649222-Mar-12 23:39
professionalUser 171649222-Mar-12 23:39 
AnswerRe: SOLVED :: I don't understand a black stripe on my web site... any tool/advice that could help me? Pin
User 171649222-Mar-12 11:18
professionalUser 171649222-Mar-12 11:18 
GeneralRe: SOLVED :: I don't understand a black stripe on my web site... any tool/advice that could help me? Pin
Joan M22-Mar-12 12:44
professionalJoan M22-Mar-12 12:44 
GeneralRe: SOLVED :: I don't understand a black stripe on my web site... any tool/advice that could help me? Pin
User 171649222-Mar-12 13:59
professionalUser 171649222-Mar-12 13:59 
GeneralRe: SOLVED :: I don't understand a black stripe on my web site... any tool/advice that could help me? Pin
Joan M22-Mar-12 21:22
professionalJoan M22-Mar-12 21:22 
QuestionImage In HTML Page Doesn't Show Pin
Kevin Marois19-Mar-12 12:07
professionalKevin Marois19-Mar-12 12:07 
AnswerRe: Image In HTML Page Doesn't Show Pin
R. Giskard Reventlov19-Mar-12 12:24
R. Giskard Reventlov19-Mar-12 12:24 
GeneralRe: Image In HTML Page Doesn't Show Pin
stuartthomas0125-Mar-12 20:45
stuartthomas0125-Mar-12 20:45 

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.