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

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
SHoerder
Forum Newbie
Posts: 1
Joined: Mon Jun 03, 2002 12:33 pm
Location: Germany/Munich

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

Post 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!
User avatar
fatal
Forum Contributor
Posts: 118
Joined: Sat Apr 20, 2002 10:47 am
Location: East Coast

Post by fatal »

you can do that with the fopen function
http://php.net/fopen

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