<?php
session_start();
if(!isset($_SESSION['userid']))
{
print '<script type="text/javascript">';
print 'alert("Login to submit resume.")';
print '</script>';
header('location:login.html');
}?>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
i try every thing still im getting the same problem
Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /home/royal/public_html/submitresume.php:1) in /home/royal/public_html/submitresume.php on line 2
Warning: Cannot modify header information - headers already sent by (output started at /home/royal/public_html/submitresume.php:1) in /home/royal/public_html/submitresume.php on line 8
Every thing working fine on localhost