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

2003-06-28 Thread PHPSpooky
; To: Rasmus Lerdorf; 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

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

2003-06-28 Thread Daryl Meese
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 : followed by the HTML tags.. and at Line 54 begins the php code in this page.. I have tried a lot o

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

2003-06-28 Thread electroteque
e- > > 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 f

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

2003-06-28 Thread PHPSpooky
echo .. things like that.. nothing has worked so far. Thanks, PHPSpooky > -Original Message- > From: Rasmus Lerdorf [mailto:[EMAIL PROTECTED] > Sent: Saturday, June 28, 2003 11:50 AM > To: PHPSpooky > Cc: 'Marek Kilimajer'; [EMAIL PROTECTED] > Subject: RE

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

2003-06-27 Thread Rasmus Lerdorf
lto:[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. > &

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

2003-06-27 Thread PHPSpooky
ng! I still get the Headers cannot be modified error.. Is there no solution 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] > S

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?

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&#x

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: Line 2. of directory.php: Line 3. of directory.php: PHPSpooky wrote: 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

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 > B

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 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 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 dir