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

Linux, Apache, MySQL, PHP

 
Questionrun once and insert twice in database Pin
nicholasng19-Feb-11 20:21
nicholasng19-Feb-11 20:21 
AnswerRe: run once and insert twice in database Pin
vicky8719-Feb-11 23:53
vicky8719-Feb-11 23:53 
Questiontrying to write a cookie Pin
MacRaider418-Feb-11 9:16
MacRaider418-Feb-11 9:16 
AnswerRe: trying to write a cookie Pin
Peter_in_278018-Feb-11 10:30
professionalPeter_in_278018-Feb-11 10:30 
GeneralRe: trying to write a cookie Pin
MacRaider419-Feb-11 1:46
MacRaider419-Feb-11 1:46 
AnswerRe: trying to write a cookie Pin
Peter_in_278023-Feb-11 12:34
professionalPeter_in_278023-Feb-11 12:34 
GeneralRe: trying to write a cookie Pin
Al4224-Feb-11 4:48
Al4224-Feb-11 4:48 
AnswerRe: trying to write a cookie Pin
Luc Pattyn24-Feb-11 5:24
sitebuilderLuc Pattyn24-Feb-11 5:24 
GeneralRe: trying to write a cookie Pin
MacRaider422-Mar-11 5:26
MacRaider422-Mar-11 5:26 
AnswerRe: trying to write a cookie Pin
Tony Wright (UK)24-Feb-11 2:39
Tony Wright (UK)24-Feb-11 2:39 
Questionwhy i cound't access apple's server with php curl Pin
wjun1976121918-Feb-11 5:10
wjun1976121918-Feb-11 5:10 
AnswerRe: why i cound't access apple's server with php curl Pin
Tom Chantler23-Feb-11 21:21
professionalTom Chantler23-Feb-11 21:21 
QuestionData normalization Pin
Mutugi from Nairobi14-Feb-11 20:14
Mutugi from Nairobi14-Feb-11 20:14 
AnswerRe: Data normalization Pin
Eddy Vluggen19-Feb-11 3:04
professionalEddy Vluggen19-Feb-11 3:04 
QuestionGetting google photo result by php Pin
ty-exexch-ko10-Feb-11 9:31
ty-exexch-ko10-Feb-11 9:31 
Questionmysql_query error Pin
komanche7-Feb-11 22:31
komanche7-Feb-11 22:31 
AnswerRe: mysql_query error Pin
Gerben Jongerius8-Feb-11 3:13
Gerben Jongerius8-Feb-11 3:13 
Questiondisplay query result in a table using PHP Pin
PermissionDenied6-Feb-11 20:10
PermissionDenied6-Feb-11 20:10 
AnswerRe: display query result in a table using PHP Pin
Jules VDV9-Feb-11 4:56
Jules VDV9-Feb-11 4:56 
AnswerRe: display query result in a table using PHP Pin
Al4211-Feb-11 12:02
Al4211-Feb-11 12:02 
Questionmake tab&menu Pin
Elham M5-Feb-11 5:59
Elham M5-Feb-11 5:59 
AnswerRe: make tab&menu Pin
Eddy Vluggen19-Feb-11 3:05
professionalEddy Vluggen19-Feb-11 3:05 
QuestionProblem with PHP - FastCGI - Headers Pin
Lea Hayes4-Feb-11 13:51
Lea Hayes4-Feb-11 13:51 
AnswerRe: Problem with PHP - FastCGI - Headers Pin
Peter_in_27804-Feb-11 14:25
professionalPeter_in_27804-Feb-11 14:25 
If your HTML or PHP has any whitespace before the opening <?php tag,
header() will fail to do what you expect.
Quoting the PHP manual:

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 (bitten by this more than once!)
Software rusts. Simon Stephenson, ca 1994.

GeneralRe: Problem with PHP - FastCGI - Headers Pin
Lea Hayes5-Feb-11 3:30
Lea Hayes5-Feb-11 3:30 

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.