943,822 Members | Top Members by Rank

Ad:
  • PHP Discussion Thread
  • Marked Solved
  • Views: 669
  • PHP RSS
Apr 23rd, 2008
0

warning problem

Expand Post »
PHP Syntax (Toggle Plain Text)
  1. Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at /home/car/publ/testing/detail.php:1) in /home/car/publ/testing/detail.php on line 2

i'm getting this error.i dont have any empty whitespace in my code.
PHP Syntax (Toggle Plain Text)
  1. <?php
  2. session_start();
  3. ?>
  4. <html>
  5. <head></head>
  6. <body>
  7. <form>
  8. <?php
  9. //code
  10. ?>
  11. </form>
  12. </body>
  13. </html>
Similar Threads
Reputation Points: 3
Solved Threads: 2
Junior Poster
kings is offline Offline
107 posts
since Nov 2007
Apr 23rd, 2008
0

Re: warning problem

Is this file perhaps included by another one ? Then maybe that one causes the error.
Sponsor
Featured Poster
Reputation Points: 550
Solved Threads: 729
Bite my shiny metal ass!
pritaeas is offline Offline
4,176 posts
since Jul 2006
Apr 23rd, 2008
0

Re: warning problem

You may also want to check if you have an auto-prepend file set on your server.
Reputation Points: 23
Solved Threads: 12
Junior Poster in Training
Daedal is offline Offline
73 posts
since Apr 2008

This thread is solved

Either the thread starter or a moderator has marked this thread as solved. You can most likely trust the responses and answers given. There is most likely no reason for any further responses to be posted here. If you have a related question, please start a new thread in this forum instead.

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in PHP Forum Timeline: How can i impliment an extension to joomla15
Next Thread in PHP Forum Timeline: PHP Problem.......





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC