FRIHOSTFORUMSFAQTOSBLOGSDIRECTORY
You are invited to Log in or Register a Frihost Account!

What does this mean?

 


clownFart
What does this mean?

Code:
Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at /home/clownfar/domains/bulletproof.frih.net/public_html/main.php:9) in /home/clownfar/domains/bulletproof.frih.net/public_html/include/session.php on line 46


I'm new to php, sorry.
ganbate
it means that the session failed to register.
try to read about how to write and place session in your code from the php manual.
shamil
clownFart wrote:
What does this mean?

Code:
Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at /home/clownfar/domains/bulletproof.frih.net/public_html/main.php:9) in /home/clownfar/domains/bulletproof.frih.net/public_html/include/session.php on line 46


I'm new to php, sorry.


It means you can not output anything before session_start. Even whitespaces.
Wrong:
Code:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<? session_start();?>
<head>
<title>Untitled Document</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>

<body>
content
</body>
</html>

Correct:
Code:
<? session_start();?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>Untitled Document</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>

<body>
content
</body>
</html>
Reply to topic    Frihost Forum Index -> Scripting -> Php and MySQL

FRIHOST HOME | FAQ | TOS | ABOUT US | CONTACT US | SITE MAP
© 2005-2007 Frihost, forums powered by phpBB.