PDA

View Full Version : خطای session



pooyesh
یک شنبه 16 مرداد 1384, 12:54 عصر
خطای زیر با اجرای کدهای
<?
session_start();
if(session_register("username")){
print("yes");
};
$username=ALI;
?>
این خطا ها رو می ده که نمی دونم چرا؟
Warning: session_start(): Cannot send session cookie - headers already sent by (output started at /home/kavirnaz/public_html/cc/start.php:1) in /home/kavirnaz/public_html/cc/start.php on line 2

Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at /home/kavirnaz/public_html/cc/start.php:1) in /home/kavirnaz/public_html/cc/start.php on line 2

oxygenws
یک شنبه 16 مرداد 1384, 13:31 عصر
جستجو قبل از پرسش.
قفل شد.