程序目的:读取当前文件路径在../tj/index.php文件中处理.<script src="../tj/index.php?c_id=8&sff=aa.php"></script>
上面的代码,在../tj/index.php文件中能读到sff传过来的参数;
但用下面的代码,sff读到的数据为空.
<script src="../tj/index.php?c_id=8&sff="+document.write(location.href)+""></script>请问这是什么原因?是我写的格式不对吗?请帮忙指点一下
上面的代码,在../tj/index.php文件中能读到sff传过来的参数;
但用下面的代码,sff读到的数据为空.
<script src="../tj/index.php?c_id=8&sff="+document.write(location.href)+""></script>请问这是什么原因?是我写的格式不对吗?请帮忙指点一下
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货