View Single Post
ישן 19-12-06, 11:29   # 1
GalN
חבר בקהילה
 
מיני פרופיל
תאריך הצטרפות: Nov 2006
הודעות: 144

GalN לא מחובר  

בעיה בקובץ logout.php

אוקיי עשיתי דבר כזה:

קוד:
<?
	session_start();
	session_destroy();
	include("include/common.php");
	if ($loggedin){
		if ($logout) {
			$myname = "";
			$myrights = "";
			$myemail = "";
			$loggedin = 0;
			session_register("loggedin");
			session_register("myname");
			session_register("myuid");
			session_register("myrights");
			session_register("myemail");
			$failed = 1;
		}
	}
	header("Location: /index.php");
?>
עשיתי את זה כדי להתנתק מפאנל ניהול..

עכשיו כשאני לוחץ על זה (דרך הקישור בבפאנל) זה עושה לי את זה:

קוד:
Warning: main(include/common.php) [function.main]: failed to open stream: No such file or directory in /home/*****/domains/**********/public_html/admin/logout.php on line 4

Warning: main(include/common.php) [function.main]: failed to open stream: No such file or directory in /home/*****/domains/**********/public_html/admin/logout.php on line 4

Warning: main() [function.include]: Failed opening 'include/common.php' for inclusion (include_path='.:/usr/local/lib/php') in /home/*****/domains/**********/public_html/admin/logout.php on line 4

Warning: Cannot modify header information - headers already sent by (output started at /home/*****/domains/**********/public_html/admin/logout.php:4) in /home/*****/domains/**********/public_html/admin/logout.php on line 19

מה אני עושה עכשיו?


תודה מראש לעוזרים!
  Reply With Quote