Reply
Old 04-28-2014, 02:06 AM   #1 (permalink)
 
Status: Junior Member
Posts: 1



Default hi all i'm not a php coder but i need a script for this situation:

xyz.com redirects to abc.com/index.html, then this redirects to abc.com/index.php

But the URL in the address bar stays xyz.com the whole time, so I want a text field of my form in index.php to show xyz.com as referrer how do I do it through php or java.

And I can't make changes to xyz.com as I don't host a site there, it's just forwarding to abc.com/index.html

This is the script:

<?php

$server=$_SERVER['HTTP_REFERER'];

echo $server;



?>

It keys in abc.com/index.html in the textfield. How do i get xyz.com?


I can make changes to index.html and index.php, but not xyz.com, how do i accomplish this
nripen_2000 is offline   Reply With Quote

Reply

Bookmarks

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
What should I do in my situation? Vam Computer Programming 0 05-10-2013 10:01 PM
Anyone know how to fix this situation? Simon Coding 1 12-07-2012 11:06 AM
what to do in this situation? Tanya Medical Coder 3 10-07-2012 11:35 AM
***WHAT SHOULD I DO IN THIS SITUATION BEST ANS = 20 PTS*** Jocelyanrtj Programming 6 08-03-2011 12:07 AM
What is a medical cyber coder Or what is a cyber coder Scenoenlice Medical Coder 1 05-11-2011 12:36 PM