1 / 22

Powerpoint Templates

Web Programming PHP MySql Ikbal Jamaludin. Powerpoint Templates. Introduction. PHP is a server-side scripting language that integrates with HTML to create dynamic web pages.

aloha
Download Presentation

Powerpoint Templates

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Web Programming PHP MySql Ikbal Jamaludin Powerpoint Templates

  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.

  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

  4. Why PHP ? Php has advantages such as • 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

  5. - It has a lot of support for database • 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

  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 • www.stmik-tasikmalaya.ac.id

  7. www.stmik-tasikmalaya.ac.id IntstallApache Webserverthrough appserv Applications

  8. Just Check All option

  9. Create a Server name and email address,

  10. Password : admin

  11. Installation Process Completed

  12. Check Successful Installation: Open Web Browser Type "localhost" in the Address Bar If Shown Information about the application that we installed, the installation successfully.

  13. How to Write the PHP

  14. 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

  15. Embeded Script <html> <head> <title> Embedded Script </title> </head> <body> <?php Echo “Hello, ini PHP Pertamaku..php pasti akan menyenangkan”; ?></body> </html>

  16. 2. NonEmbeded Script <?php echo "<html>"; echo "<head>"; echo "<title>Mengenal PHP </title>"; echo "</head>"; echo "<body>"; echo "Hello, ini PHP Pertamaku..php pasti akan menyenangkan"; echo "</body>"; echo "</html>"; ?>

  17. Example <html> <head> <title>Example</title> </head> <body> <?php • // This is an example of writing information (comments) • // in php script Echo “ This is My First PHP Script!”; ?> </body> </html>

  18. Save the project in the folder C:\AppServ\www \ name of your project • to see the results, open the browser like internet explorer, mozillafirefox, chrome etc. • Type “Localhost/your project name” in the Address Bar on you’re bowser

  19. The first meeting is finished, you can download these materials at www.stmik-tasikmalaya.ac.id, download the menu, the course material ( filename = PHPMySQL1,Kamboja.) thank you see you at the next meeting

More Related