i need to access remote server to display few pages in my portal.
am using php 4.1.1 on apache 1.3.22 on Linux rh 7.2 and i need to access a Sun box running apache(no php).
As my portal could be exposed outside am skeptical abut using
http://user:passwd@www.server.com/display.html
i try using header() for this according to the previous posted messages in this forum.but still window pops up ..which upsets me.
is that required to have php on the remote serverin order to use header().
CODE:
$user_pass = base64_encode("user:passwd");
header('Authorization: Basic $user_pass');
header('Location: http://www.server.com/display.html');
the above code doesn't work! Is there ne way to check php is compiled with $PHP_AUTH_USER and if not so how do i do it.