...

View Full Version : how to get redirected page url



Sheraz Aslam
08-23-2009, 02:21 PM
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 using echo command

funnymoney
08-23-2009, 02:24 PM
you can write this line to referrer script


<?php
echo $_SERVER['HTTP_REFERER'];
?>

Sheraz Aslam
08-23-2009, 04:53 PM
Thanks for your ans



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/pakistani_pop/download/pakistan.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


so please help me if you know any thing about this metter

Sheraz Aslam
08-25-2009, 05:13 AM
i think no one in this forum thats can solve my problem and i should leave this forum



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum