On Wednesday 08 October 2008 06:14:33 am Terry J Daichendt wrote: > I want to open a page if a login is correct and another if not. What is the > function to open a page in PHP? Can you show me a simple example of the > syntax? There is no such function. You have many options like redirecting a user- header('Location: newfile.php'); showing another file- include('newfile.php'); or using fopen to open a HTML file and print it (this one is very rarely used!). -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php