Sie sind auf Seite 1von 2

Instruction Sheet for PHP & MySQL Spoken Tutorials in Windows OS

Spoken Tutorial Team IIT Bombay

The procedure to practice


1. You have been given a set of spoken tutorials and les 2. You will typically do one tutorial at a time. 3. You may listen to a spoken tutorial and reproduce all the commands shown in the video. 4. If you nd it dicult to do the above, you may consider. listening to the whole tutorial once and then practise during the second hearing.

7. Follow the tutorial and reproduce all the activities as shown in the tutorial. 8. Create the le helloworld.php in the folder c:\xampp\htdocs\phpacademy as it is required for this video tutorial. (a) To do this, open the ConTEXT editor. (b) Click on File and select New, then click on Save As. (c) Name the le as helloworld.php. (d) Remember to choose the location as c:\xampp\htdocs\phpacademy (e) Now click on Save button. 9. Please note that the path of phpacademy folder shown in video is c:\xampp\htdocs\phpacademy 10. This will be your working directory for all the tutorials. 11. Henceforth, for all the videos, the .php and/or .html les should be created/copied in this directory. 12. You are free to create subdirectories here for each video tutorial so that you can manage all your les in a better way. 13. Now resume the tutorial and follow the instructions in the video. 14. Type all the code shown in the video in helloworld.php le and save periodically by clicking File and Save. 15. At time 1:07 min, the tutorial shows Firefox Web Browser to view helloworld.php le. 16. You can view this le in seperate TAB or in a new web-browser. 17. Type http://localhost/phpacademy/ in the address bar of your Firefox browser. This will show a list of les. 18. Click helloworld.php. This will open helloworld.php in the browser. 19. Now every time you make some change to helloworld.php using ConTEXT editor, you need to save your changes and refresh your web browser by pressing F5 key to reect the changes.

Component: Level 1
1. Right-click on the le named index.html, and choose Open with Firefox to open this le in the Firefox web browser. 2. Read the instructions given. 3. You will see three levels in the left handside panel Level1, Level2 and Level3. 4. Please click on the component Level1. 5. In this level, there are several tutorials. 6. First two tutorials are Installing in Windows and Installing in Linux. These tutorials are about the XAMPP Installation in the respective OS. 7. For the purpose of this workshop, XAMPP has already been installed on the machines. 8. Hence, skip these topics. 9. Locate the next topic Echo Function.

First tutorial: Echo Function


1. Locate the topic Echo Function 2. Click on it. 3. You will see the video in the centre. 4. Click on the play button on the player to play the tutorial. 5. To view the tutorial in a bigger player, right click on the video and choose View Video option. 6. Adjust the size of the player in such a way that you are able to practice in parallel.

20. In some of the future tutorials Google Chrome is used as the web browser, but you can continue using Firefox or any other web browser. 21. From time 1:55 min, the tutorial says about parse error. Please understand it carefully and try to reproduce the exact code as shown in the tutorial. 22. After you are done with this tutorial, you can move on to our next topic, Variables in Level1.

2. Save your work in your working directory as shown in 3.1.1 3. After you nish this tutorial, locate the next topic in the left-hand-side panel.

Similarly, remember to follow these three simple steps for all the tutorials 1. Go to the next Level/topic in the left-handside panel. 2. Create new le with same name as that mentioned in the video tutorial in C:\xampp\htdocs\phpacademy using ConTEXT editor. 3. Execute your PHP code in the web browser. 4. Reproduce all the steps shown in the tutorial. 5. Attempt all the assignments and save them in your working directory.

3.1

Instructions for Practice

1. Create a folder in c:\xampp\htdocs with your Name-RollNo-PHP (Eg.Sonia-04-PHP) 2. Remember to save all your work in your working directory. 3. Remember to save your work from time to time instead of saving it at the end of the task.

3.2

Instructions for Assignments

1. Attempt all the given assignments.

Das könnte Ihnen auch gefallen