get source url

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
knds.marcelino
Forum Newbie
Posts: 1
Joined: Mon Mar 17, 2008 10:08 am

get source url

Post by knds.marcelino »

Got this url:
http://fireballcart.com/main/s2/1216xx/2500

when i load that on the browser it will redirect to this url:
http://fireballbooks.com/CrackTheSecret ... ff_id=2500

is there a way that in my php file (http://fireballbooks.com/CrackTheSecretCode/1/index.php)
for me to be able to get the url 'http://fireballcart.com/main/s2/1216xx/2500'?

could someone kindly point me to the right direction? im out of keywords to search this functionality... is this possible?

i do not own http://fireballcart.com/main/s2/1216xx/2500,
http referer does not give me the link value i need, is there a url referer? :roll:

TIA!
knds
nincha
Forum Contributor
Posts: 191
Joined: Fri Mar 28, 2003 12:30 pm
Location: CA, USA

Re: get source url

Post by nincha »

Its only possible if they redirected you thought front side code.
User avatar
RobertGonzalez
Site Administrator
Posts: 14293
Joined: Tue Sep 09, 2003 6:04 pm
Location: Fremont, CA, USA

Re: get source url

Post by RobertGonzalez »

So you are trying to capture the URL of a referring page?
Post Reply