Powerpoint Templates Page 1 Powerpoint Templates Web Programming PHP MySql Ikbal Jamaludin
Powerpoint Templates Page 2 Introduction PHP is a server-side scripting language that integrates with HTML to create dynamic web pages. The purpose of a server-side scripting is the syntax and commands given will be fully executed on the server but is included in the HTML document.
Powerpoint Templates Page 3 This web is a combination of PHP itself as a programming language and HTML as a web page builder. When a user opens a site that uses facilities scripting PHP server-side, then the first server in question will process all orders PHP on the server and then sends the results in HTML format to the user's web browser Internet
Powerpoint Templates Page 4 PHP is Open Source software and be able to cross-platform can be used with the operating system and any web server PHP can run on Windows and some Linux distros Why PHP ? Php has advantages such as
Powerpoint Templates Page 5 PHP offers good connections to multiple databases, including Oracle, sybase, mSQL, MySQL, solid, PostgreSQL, Adabas, FilePro, Velocis, dBase, Unix dbm and not to mention all the ODBC database interfaces - It has a lot of support for database
Powerpoint Templates Page 6 before we write a php we must first install a web server such as apache. in this course, we will install appserv apache via AppServ software Applications. download appserv at
Powerpoint Templates Page 7 Intstall Apache Webserver through appserv Applications
Powerpoint Templates Page 8
Powerpoint Templates Page 9
Powerpoint Templates Page 10 Just Check All option
Powerpoint Templates Page 11 Create a Server name and address,
Powerpoint Templates Page 12 Password : admin
Powerpoint Templates Page 13
Powerpoint Templates Page 14 Installation Process Completed
Powerpoint Templates Page 15 Check Successful Installation: 1.Open Web Browser 2.Type "localhost" in the Address Bar 3.If Shown Information about the application that we installed, the installation successfully.
Powerpoint Templates Page 16 How to Write the PHP
Powerpoint Templates Page 17 to write php, we can use an application like notepad, notepad + +, Dreamweaver etc. Open youre Notebook Windows Start All Programs Acessoris Notepad Start – Run – Notepad - Enter
Powerpoint Templates Page 18 Embedded Script <?php Echo “Hello, ini PHP Pertamaku..php pasti akan menyenangkan”; ?> 1.Embeded Script
Powerpoint Templates Page 19 <?php echo " "; echo " Mengenal PHP "; echo " "; echo "Hello, ini PHP Pertamaku..php pasti akan menyenangkan"; echo " "; ?> 2. NonEmbeded Script
Powerpoint Templates Page 20 Example <?php // This is an example of writing information (comments) // in php script Echo “ This is My First PHP Script! ” ; ?> Example
Powerpoint Templates Page 21 Save the project in the folder C:\AppServ\www \ name of your project to see the results, open the browser like internet explorer, mozilla firefox, chrome etc. Type “Localhost/your project name” in the Address Bar on you’re bowser
Powerpoint Templates Page 22 The first meeting is finished, you can download these materials at download the menu, the course material ( filename = PHPMySQL1,Kamboja.) thank you see you at the next meeting