Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Header redirect

Status
Not open for further replies.

nes11

Programmer
May 10, 2005
2
US
I need to have my php script access another page on a different server & then redirect all of the contents of that page to the client that requested the php page. the catch is that it also needs to forward the headers as well. for all practical purposes, the client should recieve the exact same thing from my php script that they'd get from the other server.

Has anyone done anything like this? I could make a simple proxy script, but I can't figure out how to get & forward the headers appropriately. I know it's possible in Perl, but I'm hoping there's a PHP way as well.

any help is appreciated
 
awesome, that looks like exactly what i need. thanks.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top