Hi,
I've poked around on the internet for a solution the error message I'm getting, and I have not been successful in resolving the issue. I'm wondering if someone here can help.
The error message I get is as follows:
Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /home/nellno1/public_html/1999implant.com/zipcodetest/thank-you.php:1) in /home/nellno1/public_html/1999implant.com/zipcodetest/config.php on line 1
Here is the PHP code on the site.
From the thank-you.php (this is placed ABOVE the !DOCTYPE ... :
On the config.php file:PHP Code:<?php
require_once('config.php');
if(isset($_SESSION['user']))
{
$first_name = $_SESSION['user']['first_name'];
$last_name = $_SESSION['user']['last_name'];
$email = $_SESSION['user']['email'];
$phone_no = $_SESSION['user']['phone_no'];
$pin_code = $_SESSION['user']['pin_code'];
$list_name = $_SESSION['user']['list_name'];
unset($_SESSION['user']);
}
else
{
header("Location:index.php");
exit();
}
?>
I would be very grateful for any help with this.PHP Code:<?php
ob_start();
session_start();
$local_setting = '';
$hostName = $_SERVER['HTTP_HOST'].$local_setting;
$docRoot = $_SERVER['DOCUMENT_ROOT'].$local_setting;
Thanks,


Reply With Quote
Bookmarks