0
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
session_start();
?>
<html>
<head></head>
<body>
<form>
<?php
//code
?>
</form>
</body>
</html>
3
Contributors
2
Replies
3
Views
9 Years
Discussion Span
Last Post by effu
0

You may also want to check if you have an auto-prepend file set on your server.

This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.