如何获取重定向的页面网址 [英] how to get redirected page url
本文介绍了如何获取重定向的页面网址的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
您好,
i希望通过php点击计数器重定向链接
http: //www.mymaza.com/songs/pakistani_pop/download/pakistan.php?id=168
此页重定向到
http ://sound5.mp3pk.com/pakistani/sajjad_ali/babia/babia1(www.songs.pk).mp3
i想要打印重定向页面链接
解决方案
它可能在
_SERVER [''HTTP_REFERER''] - 尝试一下。你怎么重定向?
谢谢你的回答
但它没有解决我的问题
i希望在网站上在线添加一个选项播放歌曲,我想在线flash播放器使用点击计数器链接,这样如果歌曲位置改变我不需要tp编辑html只需更改点击计数器数据库文件中的位置
例如这里是指向我网站中flash播放器的链接
http://www.mymaza.com/songs/pakistan...tan.php?id=168
但Flash播放器不接受此类型链接所需的.mp3链接
i希望将此链接转换为在线播放器文件中的原始文件位置即播放.PHP
Hi There,
i want to get link from redirected by php click counter
http://www.mymaza.com/songs/pakistani_pop/download/pakistan.php?id=168
this page redirect to
http://sound5.mp3pk.com/pakistani/sajjad_ali/babia/babia1(www.songs.pk).mp3
i want to get print redirected page link
解决方案
It could possibly be in
_SERVER[''HTTP_REFERER''] - try it out. How''re you redirecting?
Thanks for your answer
but its not solved my problem
i want to add an option play song online on site where in online flash player i want to use click counter link so that if songs location change i do not need tp edit html just change location in click counter database file
for example here is link that i point in flash player in my site
http://www.mymaza.com/songs/pakistan...tan.php?id=168
but flash player does not accept this type link its required .mp3 link
i want to convert this link to original file location in online player file thats is play.php
这篇关于如何获取重定向的页面网址的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文