CSecurity
asked on
PHP Gateway Proxy
Hi
I want a PHP script which I'll rewrite all requests to index.php and this index.php will grab all things from appended URL from another host and display result to user.
I mean:
index.php?q=hello/hello.gi f
q=hello/hello.gif will be written by htaccess
Now index.php will get
http://www.hiddensite.com/hello/hello.gif
will read data and display it to user. User will not understand all of this data coming from remote host.
I want it to support cookies and display cookies and set cookies I get from remote host in users browser. Any idea about this code?
Thanks from now
I want a PHP script which I'll rewrite all requests to index.php and this index.php will grab all things from appended URL from another host and display result to user.
I mean:
index.php?q=hello/hello.gi
q=hello/hello.gif will be written by htaccess
Now index.php will get
http://www.hiddensite.com/hello/hello.gif
will read data and display it to user. User will not understand all of this data coming from remote host.
I want it to support cookies and display cookies and set cookies I get from remote host in users browser. Any idea about this code?
Thanks from now
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER