如何获得经多次跳转后的URL 本帖最后由 joyidea 于 2013-05-01 16:05:37 编辑 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 淘宝是用 js 跳转的,仅 php 不可能做到 这个跳转是淘宝阿里妈妈自动跳转,所以从php的角度上来获取结果是不可能的。 <script> function goURL( goUrlStr ) { if ( typeof(goUrlStr) != 'undefined') { var isIe=(document.all)? true : false; if(isIe) { var linka = document.createElement('a'); linka.href = goUrlStr; document.body.appendChild(linka); linka.click(); } else { window.location = goUrlStr; } } return true; } </script> <body><script>goURL('http://www.meilishuo.com/go/?t=19940551183&u=http%3A%2F%2Fitem.taobao.com%2Fitem.htm%3Fid%3D19940551183&spm=2014.12173575.0.34295&out=s68626656');</script></body> 新手求教 为什么datetime类型的值不能修改为null? php 清除网页文件代码 PHP连接远程SQL2000数据库失败 菜鸟问题:字符串! 四海天地高薪诚聘Wap/Jsp/php软件工程师/网站开发工程师 excel和com的问题?望各位高手救救我 勾选复选框,点击确定后,将复选框的值分行显示在多行文本框内,怎么弄? ajax的post请求 数据库查询 取文件名 问个关于freebsd的小问题
这个跳转是淘宝阿里妈妈自动跳转,所以从php的角度上来获取结果是不可能的。
function goURL( goUrlStr ) {
if ( typeof(goUrlStr) != 'undefined') {
var isIe=(document.all)? true : false;
if(isIe) {
var linka = document.createElement('a');
linka.href = goUrlStr;
document.body.appendChild(linka);
linka.click();
} else {
window.location = goUrlStr;
}
}
return true;
}
</script>
<body><script>goURL('http://www.meilishuo.com/go/?t=19940551183&u=http%3A%2F%2Fitem.taobao.com%2Fitem.htm%3Fid%3D19940551183&spm=2014.12173575.0.34295&out=s68626656');</script></body>