PHP UNIVERSITAS MUHAMMADIYAH SURAKARTA YOGIEK INDRA KURNIAWAN.

Slides:



Advertisements
Similar presentations
Session 1 & 2BBK P1 Module5-May-2007 : [‹#›] PHP: The Basics.
Advertisements

PHP Hypertext Preprocessor Information Systems 337 Prof. Harry Plantinga.
IST 221 Internet Concepts and Applications Introduction to PHP.
Copyright 2009 Justin C. Klein Keane PHP Code Auditing Session 1 – PHP Foundations Justin C. Klein Keane
Introduction to PHP (Part-1) Basharat Mahmood, Department of Computer Science,CIIT,Islamabad, Pakistan. 1.
PHP Server-side Programming. PHP  PHP stands for PHP: Hypertext Preprocessor  PHP is interpreted  PHP code is embedded into HTML code  interpreter.
Server & Client  Client: Your computer  Server: Powerful & Expensive computer. Requires network access.
Php. What is PHP? PHP is an acronym for "PHP Hypertext Preprocessor" PHP is a widely-used, open source scripting language PHP scripts are executed on.
PHPPHP What is PHP? Hypertext Pre-processor (PHPs) is a server- side scripting language In early versions, PHP stand for Personal Home Page. server-side.
PHP By Dr. Syed Noman Hasany. PHP PHP was originally created by Rasmus Lerdorf in PHP stands for PHP: Hypertext Preprocessor (a recursive acronym).
PHP Workshop ‹#› PHP: The Basics. PHP Workshop ‹#› What is it? PHP is a scripting language commonly used on web servers. –Stands for “PHP: Hypertext Preprocessor”
Introduction to PHP. PHP PHP is the Hypertext Pre-processor –Script language –Embedded into HTML –Runs as Apache module –Can use DB (MySQL, Oracle, Microsoft.
PHP: Hypertext Processor Fred Durao
PHP Overview CS PHP PHP = PHP: Hypertext Preprocessor Server-side scripting language that may be embedded into HTML One goal is to get PHP files.
PHP MOHAMMED SHURRAB TO MISS/ RASHA ATTALLAH. What is PHP? Stands for "PHP Hypertext Preprocessor" Server-side scripting language HTML-embedded Supports.
PHP : Hypertext Preprocessor
PHP Tutorial By RAY BALIKI && ROY GHORAYEB. DEFINITION PHP is a powerful server-side scripting language for creating dynamic and interactive websites.
PHP Hypertext PreProcessor. Documentation Available SAMS books O’Reilly Books.
IDK0040 Võrgurakendused I harjutus 06: PHP: Introduction Deniss Kumlander.
NMED 3850 A Advanced Online Design January 26, 2010 V. Mahadevan.
PHP TUTORIAL. HISTORY OF PHP  PHP as it's known today is actually the successor to a product named PHP/FI.  Created in 1994 by Rasmus Lerdorf, the very.
Nael Alian Introduction to PHP
Server & Client  Client: Your computer  Server: Powerful & Expensive computer. Requires network access.
November 2003Bent Thomsen - FIT 6-11 IT – som værktøj Bent Thomsen Institut for Datalogi Aalborg Universitet.
Creating Dynamic Web Pages Using PHP and MySQL CS 320.
Open Source Software Unit – 3 Presented By Mr. R.Aravindhan.
Variables and ConstantstMyn1 Variables and Constants PHP stands for: ”PHP: Hypertext Preprocessor”, and it is a server-side programming language. Special.
MySQL Database Management Systems Universitas Muhammadiyah Surakarta Yogiek Indra Kurniawan.
PHP Teresa Worner. What is it? PHP: Hypertext Preprocessor server-side scripting language open source cross-platform compatible with almost all servers.php.php3.phtml.
CS320 Web and Internet Programming Introduction to PHP Chengyu Sun California State University, Los Angeles.
Just a Little PHP Programming PHP on the Server. Common Programming Language Features Comments Data Types Variable Declarations Expressions Flow of Control.
Intro to PHP IST2101. Review: HTML & Tags 2IST210.
Introduction to PHP Advanced Database System Lab no.1.
Introduction to Web Programming. Introduction to PHP What is PHP? What is a PHP File? What is MySQL? Why PHP? Where to Start?
Comments in PHP In PHP, we use // to make a singleline comment or /* and */ to make a large comment block. Comment is a part of your PHP code that will.
PHP - 1h. How it works Client requests document Server loads document in memory Server processes document with relevant module (PHP) Server sends XHTML.
CSE 154 LECTURE 5: INTRO TO PHP. URLs and web servers usually when you type a URL in your browser: your computer looks up the.
Introduction to PHP.
>> PHP: Insert Query & Form Processing. Insert Query Step 1: Define Form Variables Step 2: Make DB Connection Step 3: Error Handling Step 4: Define the.
הרצאה 4. עיבוד של דף אינטרנט דינמי מתוך Murach’s PHP and MySQL by Joel Murach and Ray Harris.  דף אינטרנט דינמי משתנה עפ " י הרצת קוד על השרת, יכול להשתנות.
CHAPTER 6 Introduction to PHP5 Part I อ. ยืนยง กันทะเนตร คณะเทคโนโลยีสารสนเทศและการสื่อสาร มหาวิทยาลัยพะเยา 1.
Database MySQL Universitas Muhammadiyah Surakarta Yogiek Indra Kurniawan.
PHP Workshop ‹#› أطلق إبداعك 2 أطلق إبداعك 2 مدرس معتمد من مركز زووم PHP: The Basics.
PHP Training Senior Design team Ongo8 Sunday October 16, 2005.
Chapter 1 Introduction to PHP Part 1. Textbook’s Code DOWNLOADS PHP and MySQL for Dynamic Web Sites Complete Set of Scripts.
 Variables can store data of different types, and different data types can do different things.  PHP supports the following data types:  String  Integer.
1 PHP Intro PHP Introduction After this lecture, you should be able to: Know the fundamental concepts of Web Scripting Languages in general, PHP in particular.
Introduction to PHP 1.What is PHP? What Is PHP?  php: hypertext preprocessor  Server-side scripting language—like ASP—scripts are executed on server.
Dr. Abdullah Almutairi Spring PHP is a server scripting language, and a powerful tool for making dynamic and interactive Web pages. PHP is a widely-used,
CSE 154 LECTURE 14: INTRO TO PHP. URLs and web servers usually when you type a URL in your browser: your computer looks up the.
PHP Overview. What is PHP Widely available scripting language Free Alternative to Microsoft’s ASP Runs on the Web Server; not in the browser Example:
PHP – PHP Hypertext Processor A quick overview. How is PHP used? Embedded with HTML, e.g. Not like CGI: PHP files not an executable Used with servers.
By bscshelp.com 1.  It is a group assignment.  Complete Website design Using Html and Css.  Due date: 10 th December, 2014 (Hard Deadline) 2.
1 Server Side scripting PHP. 2 What is PHP? PHP stands for PHP: Hypertext Preprocessor PHP is a server-side scripting language, like ASP PHP scripts are.
PHP – Hypertext Preprocessor.
HTML FORM Assignment P4 IST Guideline Add forms in your web page so that visitors can add a comment about your web page Forms should include the.
Izzy PHP and MySQL Session 1: What is PHP?
PHP Basics and Syntax Lesson 3 ITBS2203 E-Commerce for IT.
PHP using MySQL Database for Web Development (part II)
Session 2 Basics of PHP.
Introduction to Dynamic Web Programming
Introduction to PHP Part 1
PHP Hypertext Preprocessor
PHP (PHP: Hypertext Preprocessor)
Server-Side Application and Data Management IT IS 3105 (Spring 2010)
PHP Introduction.
HYPERTEXT PREPROCESSOR BY : UMA KAKKAR
PHP an introduction.
Algoritma & Pemrograman 1
SEEM 4540 Tutorial 4 Basic PHP based on w3Schools
Presentation transcript:

PHP UNIVERSITAS MUHAMMADIYAH SURAKARTA YOGIEK INDRA KURNIAWAN

All Files Can Be Downloaded In : Menu : “Perkuliahan”

INTRODUCTION  PHP = PHP : HYPERTEXT PREPROCESSOR

Preparation  Laptop / PC  Web Server  Web Browser  Text Editor

Installation

PHP 

Type Something  echo “your_word”; Example : This is from web browser!! <?php echo “This is from Server …”; ?>

Comment // Comment 1 line # Comment 1 line /* Comments with many line */

Data Type Boolean Integer String Array Object NULL Float / double Resource

Varriable $angka = 0; $nama = ‘sule’; $tgl=date ("d M y");

Array $variable=array(nilai1,nilai2,nilai3); $variable[]=nilai; Accessing $variable[indeks] Indeks start from 0

Operator  $a + $b –($c * $a) / ($b % $c)  $a && $b, $a and $b  $a || $b, $a or $b  $a xor $b  !$a  $a <> $b, atau $a != $b  $a = $b  ++$a, atau --$a, $a += $b;  $a++  $a = “Selamat”; $a.= “Pagi”;

IF...Else <?php If( ($a == $b ) && ($a > $c) ){ echo “SAMA”; }elseif($a > $b) { echo “LEBIH BESAR”; }else { echo “LEBIH KECIL”; } ?>

While....Do... <?php $i=0; while($i<10) { echo ++$i; } do { echo --$i; }while ($i>0); ?>

Switch

FORM MANIPULATION daftar.php hasil.php Server Web

Basic Concept [POST] <form action=“reg_form.php” method=“post” name=“register”> Username :

Basic Concept [GET] <form action=“reg_form.php” method=“get” name=“register”> Username :

Catch Variable From Form  Method POST  $_POST[‘variable_name’]  $HTTP_POST_VARS[‘variable_name’]  Method GET  $_GET[‘variable_name’]  $HTTP_GET_VARS[‘variable_name’]