Red Arrows - repository stmik tasikmalaya

nostalgicisolatedΛογισμικό & κατασκευή λογ/κού

4 Νοε 2013 (πριν από 3 χρόνια και 5 μήνες)

40 εμφανίσεις

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

scrip
t
ing

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

www.stmik
-
tasikmalaya.ac.id


Powerpoint Templates

Page
7

Intstall


Apache Webserver

through
appserv

Applications

www.stmik
-
tasikmalaya.ac.id

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 email 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

<html>

<head>

<title> Embedded Script </title>

</head>


<body>

<?php


Echo “Hello, ini PHP Pertamaku..php pasti akan
menyenangkan”;

?>

</body>

</html>

1.
Embeded Script

Powerpoint Templates

Page
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 Templates

Page
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 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

www.stmik
-
tasikmalaya.ac.id,

download the menu, the course material


( filename = PHPMySQL1,Kamboja
.
)

thank you see you at the next meeting