executing html within php
Posted: Sun Feb 27, 2005 2:42 pm
hey, does anyone know how to open a php page within a php script? like something that would perform similar actions to this piece of general php code:
Code: Select all
if (password == false)
login = 0;
if (password == true)
login = 1;
if (isset(login))
//end the script and open file welcome.php
else
//end the script and open file invalid_password.php