Hi everyone. I have a problem and i hope you can help me solve it. I used the script below to get the target URL of a link i have, made by nico_swd. Code used: [LEFT]function get_final_location($url) { $headers = @get_headers($url); $pattern = '/Location\s*:\s*(https?:[^;\s\n\r]+)/i'; if ($locations = preg_grep($pattern, $headers)) { preg_match($pattern, end($locations), $redirect); return $redirect[1]; } return $url; } [/LEFT] Code (markup): The thing is, the file i request with that script (a video) comes from an external server and it only allows 1IP per session generated. Example: You call the function, it gets the target url and you display it on an page. The user/visitor clicks it but it doesn't work because the file can only be accessed by 1 IP and the server that made the target url request used his own. It's there any way to solve this??? Like making the user itself request the target url? Thank you. Hope i made myself clear, any questions just ask. I truly hope you can help me