} Register session variable currentFolder: if (!session_register(”currentFolder”)) {

} Register session variable currentFolder: if (!session_register(”currentFolder”)) { sendErrorPage(”Internal Error: Could not add currentFolder variable to the user session”); exit; } The default value of the current folder is $username. Note that the name of the root folder of user is $username: $currentFolder = $username; include_once(”main.php”); exit; ?> The following PHP file main.php displays the main page:

Page 263

Hint: If you are looking for high quality and reliable webspace provider to host and run your jsp hosting application check Virtualwebstudio jsp web hosting provider

Comments are closed.


Display welcome greeting. Note that the $username is stored in the session: Welcome Logout