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

Web Development

 
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 
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 
There's one more thing that might be relevant here, and is worth remembering anyway. If you use the PHP header() function to output an HTTP header in the response, then it may fail if:
1. there is anything previously output (even a single space before <?php will do it!)
and
2. Apache is configured *without* output buffering.

If Apache is set up for output buffering (and you typically can't tell from phpinfo()) then you might get away with 1.

Quote from PHP Manual - header():
Remember that header() must be called before any actual output is sent, either by normal HTML tags, blank lines in a file, or from PHP. It is a very common error to read code with include(), or require(), functions, or another file access function, and have spaces or empty lines that are output before header() is called. The same problem exists when using a single PHP/HTML file.


Cheers,
Peter
Software rusts. Simon Stephenson, ca 1994.

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 
AnswerRe: Image In HTML Page Doesn't Show Pin
jeta54519-Mar-12 22:14
jeta54519-Mar-12 22:14 
AnswerRe: Image In HTML Page Doesn't Show Pin
Bernhard Hiller19-Mar-12 22:21
Bernhard Hiller19-Mar-12 22:21 
GeneralRe: Image In HTML Page Doesn't Show Pin
Pete O'Hanlon20-Mar-12 3:20
mvePete O'Hanlon20-Mar-12 3:20 

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.