sranimation
Member
کد:
[COLOR="Red"]<?php
session_start();
if($_SESSION["valid_user"])
header('Location: http://www.google.com');
?>[/COLOR]
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>وب سایت آزمایشی</title>
<link rel="stylesheet" type="text/css" href="jqueryslidemenu.css" />
<!--[if lte IE 7]>
<style type="text/css">
html .jqueryslidemenu{height: 1%;} /*Holly Hack for IE7 and below*/
</style>
<![endif]-->
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.2.6/jquery.min.js"></script>
<script type="text/javascript" src="jqueryslidemenu.js"></script>
</head>
ارور میده
Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /home/turbogro/public_html/tornado/uploadgr.php:1) in /home/turbogro/public_html/tornado/uploadgr.php on line 2
Warning: Cannot modify header information - headers already sent by (output started at /home/turbogro/public_html/tornado/uploadgr.php:1) in /home/turbogro/public_html/tornado/uploadgr.php on line 4
هیچی قبل از کد وجود نداره که خروجی داشته باشه. مشکل از کجاست؟
