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

Linux, Apache, MySQL, PHP

 
AnswerRe: How to convert php script to .exe Pin
Mohamed7IBrahim18-Nov-10 4:21
Mohamed7IBrahim18-Nov-10 4:21 
GeneralRe: How to convert php script to .exe Pin
cjoki18-Nov-10 6:27
cjoki18-Nov-10 6:27 
AnswerRe: How to convert php script to .exe [modified] Pin
DaveX8622-Nov-10 8:32
DaveX8622-Nov-10 8:32 
QuestionSending FILE post data through PHP code Pin
Yulianto.10-Nov-10 19:55
Yulianto.10-Nov-10 19:55 
AnswerRe: Sending FILE post data through PHP code Pin
cjoki12-Nov-10 5:22
cjoki12-Nov-10 5:22 
AnswerRe: Sending FILE post data through PHP code Pin
Graham Breach12-Nov-10 5:37
Graham Breach12-Nov-10 5:37 
QuestionRedirect after execution Pin
cryptoknight179-Nov-10 7:43
cryptoknight179-Nov-10 7:43 
AnswerRe: Redirect after execution Pin
fly9049-Nov-10 8:26
fly9049-Nov-10 8:26 
In the PHP documentation[^] it actually quotes:

php.net wrote:
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.


Two solutions:


  1. Have it (the header) at the top of the page before you output anything to the browser.
  2. Use Output Buffering[^] to hold the output before it is sent to the browser.

If at first you don't succeed, you're not Chuck Norris.

GeneralRe: Redirect after execution Pin
cjoki9-Nov-10 11:57
cjoki9-Nov-10 11:57 
AnswerRe: Redirect after execution Pin
jaypatel51214-Nov-10 9:42
jaypatel51214-Nov-10 9:42 
QuestionWant to hire a code? Pin
Noman Rasheed7-Nov-10 12:22
Noman Rasheed7-Nov-10 12:22 
AnswerRe: Want to hire a code? Pin
User 17164927-Nov-10 12:38
professionalUser 17164927-Nov-10 12:38 
GeneralRe: Want to hire a code? [modified] Pin
Noman Rasheed7-Nov-10 12:41
Noman Rasheed7-Nov-10 12:41 
AnswerRe: Want to hire a code? Pin
jaypatel51214-Nov-10 9:43
jaypatel51214-Nov-10 9:43 
AnswerRe: Want to hire a code? Pin
AndyInUK1-Dec-10 1:04
AndyInUK1-Dec-10 1:04 
QuestionJSON response from PHP for ajax Pin
charlieko5-Nov-10 8:37
charlieko5-Nov-10 8:37 
AnswerRe: JSON response from PHP for ajax Pin
jaypatel5127-Nov-10 9:47
jaypatel5127-Nov-10 9:47 
AnswerRe: JSON response from PHP for ajax Pin
nickmaroulis20-Nov-10 11:00
nickmaroulis20-Nov-10 11:00 
QuestionCoverting PDF to HTML Pin
sarang_k1-Nov-10 21:48
sarang_k1-Nov-10 21:48 
AnswerRe: Coverting PDF to HTML Pin
Dr.Walt Fair, PE3-Nov-10 6:43
professionalDr.Walt Fair, PE3-Nov-10 6:43 
AnswerRe: Powershell question: How to print only the current folder name Pin
Sauro Viti27-Oct-10 1:17
professionalSauro Viti27-Oct-10 1:17 
AnswerRe: Powershell question: How to print only the current folder name Pin
Peter_in_278027-Oct-10 1:18
professionalPeter_in_278027-Oct-10 1:18 
GeneralRe: Powershell question: How to print only the current folder name Pin
melwyn27-Oct-10 1:22
melwyn27-Oct-10 1:22 
QuestionMySQL syntax error near '' Pin
nathionice25-Oct-10 22:10
nathionice25-Oct-10 22:10 
AnswerRe: MySQL syntax error near '' Pin
Geoff Williams25-Oct-10 23:28
Geoff Williams25-Oct-10 23:28 

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.