在1.html中:
<!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>
<script type="text/javascript" src="1.php?id=121" language="php" ></script>
</head><body>
</body>
</html>
1.php代码如下:
<?php $a = 'dsadasda2222222222222';
$b = date('Y年m月d日');
 echo 'document.writeln("Liwsen");';
 echo 'document.writeln("'.$a .'");';
 echo 'document.writeln("<br>");';
  echo 'document.writeln("'.$b .'");';$id = $_GET['id'];
echo 'document.writeln("<br>");';
echo  'document.writeln("'.$id.'================'.'");';
?>上面的 $a $b都能输出,而得到$id没有数据输出,问题出在那里了?
需要在那里配置什么文件?请指教!!!!!!!!!!!!