<?php
include_once("ifcrossverify.php");
include_once("conn.php");$photopath=$_GET["photopath"];unlink ("$photopath");mysql_select_db("share");
$sql="delete from photo where photopath='".$photopath."'";
mysql_query($sql,$conn)
//header("Location:showdetail.php");
//echo "<meta http-equiv=refresh content='0; url=showdetail.php'>"; ?><script>
function ttt()
{
window.location.href="showdetail.php";
}
window.setTimeout("ttt()",2*1000);
</script>
为什么不能传session值过去呢?
session值包含在了include_once("ifcrossverify.php");里面
请大家帮忙,如果注释掉的办法可以用,也可以帮忙修改,谢谢啦