note 84528 deleted from function.session-start by peehaa
| From: | peehaa@php.net | Date: | Mon, 27 Feb 2017 08:18:29 +0000 |
| Subject: | note 84528 deleted from function.session-start by peehaa | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-208859@lists.php.net to get a copy of this message | ||
Note Submitter: aban at datahouselibya dot com
----
for resolve the problem with session_start()
Cannot send session cache limiter - headers already sent (output started at ..."
write it at first line of the page like
<?php session_start(); ?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<body>
<?php $_SESSION['name']='mohamed'; ?>
</body>
<html>