Page 1 of 1

:?: How can I open a html page via PHP

Posted: Mon Jun 03, 2002 12:33 pm
by SHoerder
:?: I am trying to build up an Userlogin and after Username and Password are accepted the script should lead the user to a special html file automatically. It should work just like an html-link, that means the Clientbrowser should open the site automatically and remember the directory!
Many Thanks!

Posted: Mon Jun 03, 2002 12:45 pm
by fatal
you can do that with the fopen function
http://php.net/fopen

example:
$fp = fopen ("http://www.php.net/", "r");