Martin Norland wrote:
Personally I disagree with this. Yes it's easy, but you should never enable
a feature to fix a bug or problem when it can be tracked down (although
obviously in time critical situations, using it as a 'band aid' is -
sometimes - necessary). With a quick pointer he was abl
David Martínez wrote:
I suggest you to activate "Output Buffering" at beggining of your code.
It's so easy and should not modify the output of your code.
This prevents your error "Headers already sent".
At the first line of your PHP code, insert "ob_start()" and in the end
of your code insert "ob
I suggest you to activate "Output Buffering" at beggining of your code. It's
so easy and should not modify the output of your code.
This prevents your error "Headers already sent".
At the first line of your PHP code, insert "ob_start()" and in the end of
your code insert "ob_clean_flush()".
If y
Thanks guys. There was a space after the closing ?> tag.
Best,
Craig
On Apr 28, 2005, at 2:08 PM, Patel, Aman wrote:
Check that there is no output generated before your script hits the
Header() function calls. The most common mistake I've noticed is that
if you require() or include() many files
Check that there is no output generated before your script hits the
Header() function calls. The most common mistake I've noticed is that if
you require() or include() many files before you call Header(), and if
there is any content outside of the "" tags in the includ()'ed
or require()'d files
Craig Hoffman wrote:
Hey Folks,
I have a script that times out the session if there is no activity in a
certain amount of time. If there is no activity the HEADER() redirects
to the logout page and kills the session. Everything works fine on our
test server, but when I test the script on the
Hey Folks,
I have a script that times out the session if there is no activity in a
certain amount of time. If there is no activity the HEADER()
redirects to the logout page and kills the session. Everything works
fine on our test server, but when I test the script on the production
server, I
We've ALL done it before :-)
> I am testing now testing it with the ==, silly mistake
>
> -Original Message-
> From: John W. Holmes [mailto:[EMAIL PROTECTED]
> Sent: Friday, April 30, 2004 4:38 PM
> To: Erik Meyer; PHP-DB
> Subject: Re: [PHP-DB] headers and if st
I am testing now testing it with the ==, silly mistake
-Original Message-
From: John W. Holmes [mailto:[EMAIL PROTECTED]
Sent: Friday, April 30, 2004 4:38 PM
To: Erik Meyer; PHP-DB
Subject: Re: [PHP-DB] headers and if statements
From: "Erik Meyer" <[EMAIL PROTECTED]>
From: "Erik Meyer" <[EMAIL PROTECTED]>
> Have you tried:
>
Uhmm... Have _YOU_ tried that???
= vs == ?
;)
---John Holmes...
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
I think that would try to set $login=1.
Need two ==
> Have you tried:
>
>
> -Original Message-
> From: Daniel Clark [mailto:[EMAIL PROTECTED]
> Sent: Friday, April 30, 2004 4:19 PM
> To: matthew perry
> Cc: [EMAIL PROTECTED]
> Subject: Re: [PHP-DB] headers
From: "matthew perry" <[EMAIL PROTECTED]>
>
>
> Why does this direct me to loginError.php even when $logIn = 1?
It doesn't. Double check your value of $logIn by printing it out or using
print_r/vardump/etc...
---John Holmes...
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe,
Have you tried:
-Original Message-
From: Daniel Clark [mailto:[EMAIL PROTECTED]
Sent: Friday, April 30, 2004 4:19 PM
To: matthew perry
Cc: [EMAIL PROTECTED]
Subject: Re: [PHP-DB] headers and if statements
Hum. Is $logIn null at times?!?!
>
>
> Why does this dir
Hum. Is $logIn null at times?!?!
>
>
> Why does this direct me to loginError.php even when $logIn = 1?
>
> - Matt
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Why does this direct me to loginError.php even when $logIn = 1?
- Matt
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
You have some content at line 2 in file trial.php.
Check if there is a space (or a session command) at that line.
--
Jorge Oliveira
» Cloreto.com
matthew perry wrote:
When I insert the following header:
header ("Content-type: application/vnd.ms-excel");
header ("Content-Disposition: a
When I insert the following header:
header ("Content-type: application/vnd.ms-excel");
header ("Content-Disposition: attachment" );
I get the messages:
*Warning*: Cannot modify header information - headers already sent by
(output started at C:\Program Files\Apache Group\Apache2\htdocs\
How do I eanble headers in php3.ini file
-Thanks
--
The secret of the universe is @*&í!'ñ^#+ NO CARRIER
___ _ _ _
|_|_||_||_||\/||_|| \
_|| || || \| || ||_/
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail:
script you need the GD Image librays installed and
enabled.
-Original Message-
From: Sharmad Naik [mailto:[EMAIL PROTECTED]]
Sent: 07 April 2001 08:16
To: [EMAIL PROTECTED]
Subject: [PHP-DB] headers
When ever i add headers in my pages i get the following errors
Can anybody tell me what
Hi,
you can't have ANY output whatsoever before adding a
header. Even whitespaces before the opening schrieb im Newsbeitrag
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> When ever i add headers in my pages i get the following errors
> Can anybody tell me what's wrong?
>
> Warning: Cannot add he
When ever i add headers in my pages i get the following errors
Can anybody tell me what's wrong?
Warning: Cannot add header information - headers already sent by (output started
at /usr/src/apache_1.3.14/web/server/apache/htdocs/searchdisplay.php:4) in /usr
/src/apache_1.3.14/web/server/apache/
21 matches
Mail list logo