<?xml version="1.0" encoding="UTF-8" ?>
<rss version="2.0">
<channel>
<title><![CDATA[向东博客 专注WEB应用 构架之美 --- 构架之美，在于尽态极妍 | 应用之美，在于药到病除]]></title> 
<link>http://www.jackxiang.com/index.php</link> 
<description><![CDATA[赢在IT，Playin' with IT,Focus on Killer Application,Marketing Meets Technology.]]></description> 
<language>zh-cn</language> 
<copyright><![CDATA[向东博客 专注WEB应用 构架之美 --- 构架之美，在于尽态极妍 | 应用之美，在于药到病除]]></copyright>
<item>
<link>http://www.jackxiang.com/post//</link>
<title><![CDATA[如何用JS获取当前页面的URL网址参数？php如何获取当前链接(包括参数)?]]></title> 
<author>jack &lt;xdy108@126.com&gt;</author>
<category><![CDATA[WEB2.0]]></category>
<pubDate>Thu, 24 Apr 2014 12:35:30 +0000</pubDate> 
<guid>http://www.jackxiang.com/post//</guid> 
<description>
<![CDATA[ 
	背景：有时获取到Url后要加个随机数刷新，是前端好还是后端好，都有利弊，但关键是都多少有些忘记了，找了下，找到了，贴下面。<br/>JavaScript获取当前网页的URL代码，实际上这是一个有用的功能，有时候我们不想使用ASP/PHP/JSP等动态网页语言去截获URL中 的字符串，用JS可减轻服务器压力，而且速度也比较快，灵活性高，示例中，我们可以获得本页面的URL，从网址根目录开始，一直到本页面的URl。同时它 还可取得网站的域名。 <br/><textarea name="code" class="php" rows="15" cols="100">
<html>&nbsp;&nbsp;
<head>&nbsp;&nbsp;
<title>取得目前页面页的网址</title>&nbsp;&nbsp;
</head>&nbsp;&nbsp;
<body >&nbsp;&nbsp;
目前的页面网址为：&nbsp;&nbsp;
<script language="javascript">&nbsp;&nbsp;
<!--&nbsp;&nbsp;
url = window.location.href;&nbsp;&nbsp;
document.write(url);&nbsp;&nbsp;
-->&nbsp;&nbsp;
</script>&nbsp;&nbsp;
</body>&nbsp;&nbsp;
</html>
</textarea><br/><br/>来自：http://l758.com/newsinfo/75.html<br/><br/>php如何获取当前链接(包括参数)?<br/>echo 'http://'.$_SERVER['HTTP_HOST'].$_SERVER['PHP_SELF'];<br/>请教一下php如何获取当前链接+参数?<br/>$_SERVER['HTTP_HOST']<br/>$_SERVER['REQUEST_URI']
]]>
</description>
</item><item>
<link>http://www.jackxiang.com/post//#blogcomment</link>
<title><![CDATA[[评论] 如何用JS获取当前页面的URL网址参数？php如何获取当前链接(包括参数)?]]></title> 
<author> &lt;user@domain.com&gt;</author>
<category><![CDATA[评论]]></category>
<pubDate>Thu, 01 Jan 1970 00:00:00 +0000</pubDate> 
<guid>http://www.jackxiang.com/post//#blogcomment</guid> 
<description>
<![CDATA[ 
	
]]>
</description>
</item>
</channel>
</rss>