Using PHP scripts
- Open the TP05_03.xml file and move to the Application mode.
- A navigator is installed on st1, a HTTP server on st4, and a DBMS on st5: Make sure they are.
- Select the "step by step" simulation mode.
- Launch the web browser, using st1’s pop-up menu, and ask for the "f004.php" URL.
- The HTTP server reads the PHP code so as to build up the HTML flow that will be sent:

- Of course, the navigator receives only the HTML code.
- Make sure it does by clicking on the button "show HTML source".
- Close the navigator.
- Watch the RDBMS’s configuration installed on st5 (pop-up menu, installed software, manage).
- The root user has a password.
- Start again the navigator on st1, and choose "f006.php".
- The HTTP server fails to connect to the DBMS; the information related to the connection is not valid.
- The server produces an error message and sends it to the navigator in the form of HTML code.
- Edit the "f006.php" file on st4’s hard disk.
- Input the correct information required for the connection to the DBMS:
|
|