RE: [PHP] 'Cannot send Headers' Problem!! MOre..

2003-06-28 Thread PHPSpooky
to this problem? PHPSpooky -Original Message- From: Marek Kilimajer [mailto:[EMAIL PROTECTED] Sent: Friday, June 27, 2003 7:25 PM To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Subject: Re: [PHP] 'Cannot send Headers' Problem!! MOre.. The top means the top of the file, not the top

RE: [PHP] 'Cannot send Headers' Problem!! MOre..

2003-06-28 Thread Rasmus Lerdorf
PROTECTED] Sent: Friday, June 27, 2003 7:25 PM To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Subject: Re: [PHP] 'Cannot send Headers' Problem!! MOre.. The top means the top of the file, not the top of your coding. Simply: Line 1. of directory.php: ?php include_once(global.inc.php

RE: [PHP] 'Cannot send Headers' Problem!! MOre..

2003-06-28 Thread PHPSpooky
] 'Cannot send Headers' Problem!! MOre.. First, where is your header call? And when you do a view source on the page with the error, what do you see before that error is shown? -Rasmus -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] 'Cannot send Headers' Problem!! MOre..

2003-06-28 Thread electroteque
[mailto:[EMAIL PROTECTED] Sent: Friday, June 27, 2003 7:25 PM To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Subject: Re: [PHP] 'Cannot send Headers' Problem!! MOre.. The top means the top of the file, not the top of your coding. Simply: Line 1. of directory.php: ?php include_once

RE: [PHP] 'Cannot send Headers' Problem!! MOre..

2003-06-28 Thread Daryl Meese
' Cc: [EMAIL PROTECTED] Subject: RE: [PHP] 'Cannot send Headers' Problem!! MOre.. Glory! I have two files, directory.php and global.inc.php In directory.php ... this is the first line : ?php include(global.inc.php); $admin = is_admin();? followed by the HTML tags.. HTML HEAD

RE: [PHP] 'Cannot send Headers' Problem!! MOre..

2003-06-28 Thread PHPSpooky
; PHPSpooky Cc: 'Marek Kilimajer'; [EMAIL PROTECTED] Subject: RE: [PHP] 'Cannot send Headers' Problem!! MOre.. there is a possible problem if there is whitespace before or after a php tag check that !! -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http

RE: [PHP] 'Cannot send Headers' Problem!! MOre..

2003-06-27 Thread PHPSpooky
Glory! Just to check .. I removed all HTML code from the directory.php page.. and just left the PHP code.. and it worked fine!! So the problem is with the HTML code.. whatever HTML is outputting.. somehow it's taking it as the output and this generating the Warning! But I need the HTML in the

RE: [PHP] 'Cannot send Headers' Problem!! MOre..

2003-06-27 Thread Adam Voigt
Headers can't be sent after HTML output, it's as simple as it sounds. What that means is, if you suddenly decide you want to send a Location header to redirect the browser, you can't if you outputted any HTML before the line that outputs the location, unless ofcourse your using Output Buffering.

Re: [PHP] 'Cannot send Headers' Problem!! MOre..

2003-06-27 Thread Marek Kilimajer
You got it all wrong: HTML is the output! If recomend you read the http specification to learn why. PHPSpooky wrote: Glory! Just to check .. I removed all HTML code from the directory.php page.. and just left the PHP code.. and it worked fine!! So the problem is with the HTML code.. whatever HTML

RE: [PHP] 'Cannot send Headers' Problem!! MOre..

2003-06-27 Thread PHPSpooky
Headers can't be sent after HTML output, it's as simple as it sounds. What that means is, if you suddenly decide you want to send a Location header to redirect the browser, you can't if you outputted any HTML before the line that outputs the location, unless ofcourse your using Output

Re: [PHP] 'Cannot send Headers' Problem!! MOre..

2003-06-27 Thread Marek Kilimajer
The top means the top of the file, not the top of your coding. Simply: Line 1. of directory.php: ?php include_once(global.inc.php) ? Line 2. of directory.php: html Line 3. of directory.php: head PHPSpooky wrote: Headers can't be sent after HTML output, it's as simple as it sounds. What that

RE: [PHP] 'Cannot send Headers' Problem!! MOre..

2003-06-27 Thread Edward Peloke
maybe you already did this but can you send your code? -Original Message- From: PHPSpooky [mailto:[EMAIL PROTECTED] Sent: Friday, June 27, 2003 9:46 AM To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Subject: RE: [PHP] 'Cannot send Headers' Problem!! MOre.. Headers can't be sent after HTML

RE: [PHP] 'Cannot send Headers' Problem!! MOre..

2003-06-27 Thread PHPSpooky
.. PHPSpooky -Original Message- From: Edward Peloke [mailto:[EMAIL PROTECTED] Sent: Friday, June 27, 2003 7:26 PM To: [EMAIL PROTECTED] Subject: RE: [PHP] 'Cannot send Headers' Problem!! MOre.. maybe you already did this but can you send your code? -- PHP General Mailing List (http