Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

PHP Forum


You are currently viewing our PHP Forum as a guest. Please register to participate.
Login



Freelance Jobs

Reply
Warning: Cannot modify header information - headers already sent by
Old 11-24-2007, 05:47 AM Warning: Cannot modify header information - headers already sent by
Junior Talker

Posts: 4
Name: Marcel
Trades: 0
so... have this problem

Code:
Warning: Cannot modify header information - headers already sent by (output started at /srv/www/htdocs/web156/html/sg/intern.php:4) in /srv/www/htdocs/web156/html/sg/checkchose.php on line 20
can anybody help me??

if you want more datils of the files... plaese message or reply

thanks
Hanta is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 11-24-2007, 06:04 AM Re: Warning: Cannot modify header information - headers already sent by
Moxxnixx's Avatar
King Spam Talker

Posts: 1,174
Name: Lance
Location: Virginia Beach
Trades: 0
First thing to check,
make sure you don't have any whitespace (ie, blank lines) before and after your php tags.
__________________
Get your facts first, and then you can distort them as much as you please. - Mark Twain

Please login or register to view this content. Registration is FREE
---

Please login or register to view this content. Registration is FREE

All My Sites Are Proudly Hosted @
Please login or register to view this content. Registration is FREE

Moxxnixx is offline
Reply With Quote
View Public Profile Visit Moxxnixx's homepage!
 
Old 11-24-2007, 07:49 AM Re: Warning: Cannot modify header information - headers already sent by
Super Talker

Posts: 134
Trades: 0
you get this error if you have html tags before the php-function header is executed
__________________

Please login or register to view this content. Registration is FREE

Check out the Facebook Clone build with Jcow SNS at
Please login or register to view this content. Registration is FREE
, it is free and it always will be
Falcone is offline
Reply With Quote
View Public Profile
 
Old 11-24-2007, 07:50 AM Re: Warning: Cannot modify header information - headers already sent by
Novice Talker

Posts: 6
Name: Keith
Trades: 0
I use a JavaScript redirect to avoid this problem.

Look at JavaScript location.replace. It makes life simpler.
__________________

Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
|
phx-keith is offline
Reply With Quote
View Public Profile Visit phx-keith's homepage!
 
Old 11-24-2007, 08:28 AM Re: Warning: Cannot modify header information - headers already sent by
Super Talker

Posts: 134
Trades: 0
if javascript is enabled in the user's browser
__________________

Please login or register to view this content. Registration is FREE

Check out the Facebook Clone build with Jcow SNS at
Please login or register to view this content. Registration is FREE
, it is free and it always will be
Falcone is offline
Reply With Quote
View Public Profile
 
Old 11-24-2007, 09:57 AM Re: Warning: Cannot modify header information - headers already sent by
Junior Talker

Posts: 3
Name: Veselin Stoilov
Trades: 0
what exactly are you trying to do? Redirect a user, use start_session(), etc... This message can be caused by many things. I would suggest that you paste part of the code so we all can give more specific answers.
__________________

Please login or register to view this content. Registration is FREE
- Webmasters tools and help
Veselin Stoilov is offline
Reply With Quote
View Public Profile Visit Veselin Stoilov's homepage!
 
Old 11-24-2007, 06:17 PM Re: Warning: Cannot modify header information - headers already sent by
Junior Talker

Posts: 4
Name: Marcel
Trades: 0
ah yes..... thanks a lot^^ I had a include part and in the other file was html in front of it =)
Hanta is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to Warning: Cannot modify header information - headers already sent by
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.31007 seconds with 12 queries