FRIHOST FORUMS SEARCH FAQ TOS BLOGS COMPETITIONS
You are invited to Log in or Register a free 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>
Related topics
alternatives to adsense
A problem with my computer.....need help...plz
What to do when we are going to be away ?
Want to know if LOVE is real?
Smart people
science vs. religion
Next generation consoles...
Does this really work
Fun With Pokies
explorer.exe
What are your beliefs?
Vista IE CSS & Other Support
make this earn big FRIHS$'s
What Does It Mean To "Follow Your Heart"?
What does it mean?
Reply to topic    Frihost Forum Index -> Scripting -> Php and MySQL

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