powerpoint templates page 1 powerpoint templates web programming php mysql ikbal jamaludin
Post on 25-Dec-2015
225 Views
Preview:
TRANSCRIPT
Powerpoint TemplatesPage 1
Powerpoint Templates
Web ProgrammingPHP MySql
Ikbal Jamaludin
Powerpoint TemplatesPage 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 TemplatesPage 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 TemplatesPage 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 TemplatesPage 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 TemplatesPage 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 atwww.stmik-tasikmalaya.ac.id
Powerpoint TemplatesPage 7
Intstall Apache Webserver through appserv Applications
www.stmik-tasikmalaya.ac.id
Powerpoint TemplatesPage 11
Create a Server name and email address,
Powerpoint TemplatesPage 15
Check Successful Installation:1. Open Web Browser2. Type "localhost" in the Address Bar3. If Shown Information about the application that we
installed, the installation successfully.
Powerpoint TemplatesPage 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 TemplatesPage 18
<html>
<head>
<title> Embedded Script </title>
</head>
<body>
<?php
Echo “Hello, ini PHP Pertamaku..php pasti akan
menyenangkan”;
?>
</body>
</html>
1. Embeded Script
Powerpoint TemplatesPage 19
<?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>";
?>
2. NonEmbeded Script
Powerpoint TemplatesPage 20
<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>
Example
Powerpoint TemplatesPage 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 TemplatesPage 22
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
top related