Thank you so much man.. you're a miracle.
Thanks,
PHPSpooky
> -Original Message-
> From: Daryl Meese [mailto:[EMAIL PROTECTED]
> Sent: Saturday, June 28, 2003 7:08 PM
> To: [EMAIL PROTECTED]; 'Rasmus Lerdorf'
> Cc: [EMAIL PROTECTED]
> Subject: RE: [PHP]
; 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
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
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
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
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.
> &
> From: Jason Wong [mailto:[EMAIL PROTECTED]
> And a search of the archives would have told you exactly what could
cause
> that
> to happen and how to solve it. But you've done that already though
haven't
> you?
Exactly. You're on the right track my friend. Been there.. done that. To
no avail.
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
Directory.php
";
echo "";
echo "";
echo "";
echo "";
echo ": MichaelJacksonSites.Com : The Definitive
Directory";
echo "";
echo "";
echo "";
echo "";
echo "";
echo "";
echo "
MichaelJacksonSites.Com\" border=0>";
echo "";
echo "";
echo "";
echo "http://download.macromedia.com/pub/shockwave/cabs/f
..
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?
there is something in your global.inc.php that is sending output...
-Original Message-
From: PHPSpooky [mailto:[EMAIL PROTECTED]
Sent: Friday, June 27, 2003 9:45 AM
To: 'Marek Kilimajer'
Cc: [EMAIL PROTECTED]
Subject: RE: [PHP] 'Cannot send Headers' Problem!!
Glory!
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
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
> 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
Glory!
Done this long time back.. moved include("global.inc.php"); to the top.
Right after -Original Message-
> From: Marek Kilimajer [mailto:[EMAIL PROTECTED]
> Sent: Friday, June 27, 2003 6:57 PM
> To: [EMAIL PROTECTED]
> Cc: [EMAIL PROTECTED]
> Subject: Re: [
EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Subject: Re: [PHP] 'Cannot send Headers' Problem!!
Simly go to mjs/directory.php, line 3, and remove any output that is
there, mosty likely some white characters.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
he same.. ? Just a thought.
And lastly, what qualifies for a White Character?
PHPSpooky
-Original Message-
From: Marek Kilimajer [mailto:[EMAIL PROTECTED]
Sent: Friday, June 27, 2003 6:14 PM
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Subject: Re: [PHP] 'Cannot send Headers'
une 27, 2003 6:14 PM
> > To: [EMAIL PROTECTED]
> > Cc: [EMAIL PROTECTED]
> > Subject: Re: [PHP] 'Cannot send Headers' Problem!!
> >
> > Simly go to mjs/directory.php, line 3, and remove any output that is
> > there, mosty likely some white characters.
&g
[snip]
You mean for testing I make a new page and put these two functions? Or
do you want me to place these on the top and bottom of my existing
global.inc.php page?
And PS : what is "HTH" ?
[/snip]
I mean that instead of
you do
");
print("");
?>
Hope This Helps
--
PHP General Mailing List
]
> Sent: Friday, June 27, 2003 6:11 PM
> To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
> Subject: RE: [PHP] 'Cannot send Headers' Problem!!
>
> [snip]
> On the internet server, apart from the beginning tables & html, this
is
> what I get ..
>
> Warning: Can
n the directory.php for the page.. so what do I do?
PHPSPooky
> -Original Message-
> From: Marek Kilimajer [mailto:[EMAIL PROTECTED]
> Sent: Friday, June 27, 2003 6:14 PM
> To: [EMAIL PROTECTED]
> Cc: [EMAIL PROTECTED]
> Subject: Re: [PHP] 'Cannot send Headers
[snip]
I checked out my Directory.php file.. there's a bunch of HTML code that
is responsible for the HTML in that page before the PHP begins, and
before global.inc.php is included in the file.
[/snip]
Sounds like you need to re-order your code or have the PHP output all of
the HTML.
[snip]
And
do I erase this problem.
This is where my php code begins in the directory.php file..
-Original Message-
> From: Marek Kilimajer [mailto:[EMAIL PROTECTED]
> Sent: Friday, June 27, 2003 6:14 PM
> To: [EMAIL PROTECTED]
> Cc: [EMAIL PROTECTED]
> Subject: Re: [PHP] 'Cannot
On Friday 27 June 2003 20:35, PHPSpooky wrote:
> On the internet server, apart from the beginning tables & html, this is
> what I get ..
What do you mean 'apart from'? That is exactly what the errors below are
complaining about.
> Warning: Cannot modify header information - headers already sent
PROTECTED]
Sent: Friday, June 27, 2003 4:50 PM
To: [EMAIL PROTECTED]
Subject: Re: [PHP] 'Cannot send Headers' Problem!!
On Friday 27 June 2003 18:33, PHPSpooky wrote:
Secondly, why is it it's giving me the 'cannot modify headers'
problem
on the internet server, but not on
[snip]
On the internet server, apart from the beginning tables & html, this is
what I get ..
Warning: Cannot modify header information - headers already sent
by (output started at /home/unbreaka/public_html/mjs/directory.php:3) in
/home/unbreaka/public_html/mjs/global.inc.php on line
531
Warnin
s? I don't know if I can make changes to the Server Config on
my Hosting Companies Server..
PHPSpooky
> -Original Message-
> From: Jason Wong [mailto:[EMAIL PROTECTED]
> Sent: Friday, June 27, 2003 4:50 PM
> To: [EMAIL PROTECTED]
> Subject: Re: [PHP] 'Cannot send Head
On Friday 27 June 2003 18:33, PHPSpooky wrote:
> Secondly, why is it it's giving me the 'cannot modify headers' problem
> on the internet server, but not on my computer?
Obviously there is a difference in the configuration of the two servers.
1) Check the actual output returned to the browser (v
e the 'cannot modify headers' problem
on the internet server, but not on my computer?
Help still needed!
PHPSpooky
> -Original Message-
> From: Jason Wong [mailto:[EMAIL PROTECTED]
> Sent: Friday, June 27, 2003 3:20 PM
> To: [EMAIL PROTECTED]
> Subject: Re: [PHP]
On Friday 27 June 2003 16:01, PHPSpooky wrote:
> "Warning: Cannot modify header information - headers already sent by
Search the archives for causes and resolutions.
--
Jason Wong -> Gremlins Associates -> www.gremlins.biz
Open Source Software Systems Integrators
* Web Design & Hosting * Intern
30 matches
Mail list logo