What is PHP? PHP (recursive acronym for "PHP: Hypertext Preprocessor") is a widely-used Open Source general- purpose scripting language that is especially.

Slides:



Advertisements
Similar presentations
IS 6116 Introduction – 10 Jan Lecturer Details Aonghus Sugrue Website: aonghussugrue.wordpress.com
Advertisements

BY: ALBERTO CABEZAS 4/19/2010. INTRODUCTION: PHP is considered today as one of the most famous scripting languages. PHP is widely used as a general purpose.
Outline IS400: Development of Business Applications on the Internet Fall 2004 Instructor: Dr. Boris Jukic Server Side Web Technologies: Part 2.
PHP Scripting Language. Introduction “PHP” is an acronym for “PHP: Hypertext Preprocessor.” It is an interpreted, server-side scripting language. Originally.
Dynamic Web site With PHP and MySQL. MySQL The combination of MySQL database and PHP scripting language is optimum for building dynamic websites. MySQL.
E-Commerce The technical side. LAMP Linux Linux Apache Apache MySQL MySQL PHP PHP All Open Source and free packages. Can be installed and run on most.
1 CS428 Web Engineering Lecture 18 Introduction (PHP - I)
WHAT IS PHP PHP is an HTML-embedded scripting language primarily used for dynamic Web applications.
PHP By Dr. Syed Noman Hasany. PHP PHP was originally created by Rasmus Lerdorf in PHP stands for PHP: Hypertext Preprocessor (a recursive acronym).
WEB DESIGN SOME FOUNDATIONS. SO WHAT IS THIS INTERNET.
PHP PHP: Hypertext Preprocessing. What is PHP? PHP is a server-side scripting language designed specifically for the Web. An open source language PHP.
Web Page A page displayed by the browser. Website Collection of multiple web pages Web Browser: A software that displays web pages on client computer.
PHP and MySQL Week#1  Course Plan.  Introduction to Dynamic Web Content.  Setting Up Development Server Eng. Mohamed Ahmed Black 1.
PHP: Hypertext Processor Fred Durao
Intro to PHP Introduction to server-side scripts (It’s all good :D) © TAFE NSW
PHP HYPERTEXT: PREPROCESSOR By: Justin T. Pleva. WHAT IS PHP?  General purpose  Server-side web development  Console application.
INTRODUCTION TO WEB DATABASE PROGRAMMING
Powerpoint Templates Page 1 Powerpoint Templates Web Programming PHP MySql Ikbal Jamaludin.
NETWORK CENTRIC COMPUTING (With included EMBEDDED SYSTEMS)
Server- Side technologies Client-side vs. Server-side scripts PHP basic ASP.NET basic ColdFusion.
INFM 603: Information Technology and Organizational Context Jimmy Lin The iSchool University of Maryland Thursday, October 18, 2012 Session 7: PHP.
ITD 3194 Web Application Development Chapter 4: Web Programming Language.
AIT 616 Fall 2002 PHP. AIT 616 Fall 2002 PHP  Special scripting language used to dynamically generate web documents  Open source – Free!!!  Performs.
Copyright © cs-tutorial.com. Introduction to Web Development In 1990 and 1991,Tim Berners-Lee created the World Wide Web at the European Laboratory for.
PHP. Why should we learn web programming? No need write socket programming. - You can forget TCP/IP & OSI layers. - Web server handles socket tasks for.
IDK0040 Võrgurakendused I harjutus 06: PHP: Introduction Deniss Kumlander.
PHP Professor Waterman. Agenda What is PHP Versions HTML Dynamic Web sites Interactive Web Sites Installing PHP Transfer pages to a Web hosting service.
PHP PHP: Hypertext Preprocessing Preston Brinks and Sean McKenzie.
PHP With Oracle 11g XE By Shyam Gurram Eastern Illinois University.
PHP and MySQL by Example COMP YL Professor Mattos.
Technical Review - PHP Jang Jaeseok. Overview Introduction  What is PHP?  History of PHP  What can do with PHP?  Advantages of PHP PHP syntax.
Introduction to PHP and MySQL Kirkwood Center for Continuing Education By Fred McClurg, © Copyright 2015, Fred McClurg, All Rights.
Basics and uses of php Prepared By
1Computer Sciences Department Princess Nourah bint Abdulrahman University.
PHP and mySQL 2/9/2007. What is PHP?  From php.net “PHP is a widely-used general- purpose scripting language that is especially suited for Web development.
Introduction to PHP Advanced Database System Lab no.1.
What is PHP? PHP stands for PHP: Hypertext Preprocessor PHP is a server-side scripting language, like ASP PHP scripts are executed on the server PHP supports.
WEB DEVELOPMENT WITH PHP/MYSQL. WEB DEVELOPMENT COURSE HAS DIFFERENT NAME IN DIFFERENT INSITUTES, THIS IS A CORE COURSE FOR BS/MS STUDENTS. THIS IS ALSO.
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.
RUBRIC IP1 Ruben Botero Web Design III. The different approaches to accessing data in a database through client-side scripting languages. – On the client.
1 CSC 301 Web Programming Charles Frank. PHP – Stands for:  Personal Home Page (originally),  PHP: Hypertext Preprocessor (now; follows GNU’s recursive.
PHP Introduction PHP is a server-side scripting language.
An Investigation into using a Document Management System Presented by: Bijal RanaSupervisor: John Ebden.
The basics of knowing the difference CLIENT VS. SERVER.
1 PHP Pattadon Sintusak ID PHP Programmingintroduction2 Content History of PHP What’s PHP? Purpose of PHP Structure of PHP Language Reference.
IS2803 Developing Multimedia Applications for Business (Part 2) Lecture 2: Introduction to IS2803 Rob Gleasure
 Before you continue you should have a basic understanding of the following:  HTML  CSS  JavaScript.
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.
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,
Web Page Designing With Dreamweaver MX\Session 1\1 of 9 Session 1 Introduction to PHP Hypertext Preprocessor - PHP.
CGS 3066: Web Programming and Design Spring 2016 Introduction to Server-Side Programming.
PHP stands for …….. “PHP Hypertext Pre-processor” and is a server-side scripting language like ASP. PHP scripts are executed on the server PHP supports.
Presented By Sushil K. Chaturvedi Assistant Professor SRCEM,Banmore 1.
PHP Basics and Syntax Lesson 3 ITBS2203 E-Commerce for IT.
PHP using MySQL Database for Web Development (part II)
Introduction to Dynamic Web Programming
Web Concepts Lesson 2 ITBS2203 E-Commerce for IT.
CSC 301 Web Programming Charles Frank.
Introduction to PHP “PHP is a server-side scripting language designed specifically for the Web. Within an HTML page, you can embed PHP code that will be.
PHP (PHP: Hypertext Preprocessor)
Introduction to PHP “PHP is a server-side scripting language designed specifically for the Web. Within an HTML page, you can embed PHP code that will be.
Pemrograman V (PHP) “Introduction”
PHP / MySQL Introduction
PHP Introduction.
Information system Management
Web DB Programming: PHP
Information system Management
Tutorial 6 PHP & MySQL Li Xu
Introduction to PHP.
Presentation transcript:

What is PHP? PHP (recursive acronym for "PHP: Hypertext Preprocessor") is a widely-used Open Source general- purpose scripting language that is especially suited for Web development and can be embedded into HTML.

What can PHP do? Server-side Scripting: This is the most traditional and main target field for PHP. You need three things to make this work: 1.The PHP parser (CGI or server module) 2.A web browser 3.A webserver with a connected PHP installation. All these can run on your home machine if you are just experimenting with PHP programming.

What can PHP do? Command Line Scripting: You can make a PHP script to run it without any server or browser. You only need the PHP parser to use it this way. This type of usage is ideal for scripts regularly executed using cron (on *nix or Linux) or Task Scheduler (on Windows). These scripts can also be used for simple text processing tasks.

What can PHP do? Desktop Applications: Writing desktop applications. PHP is probably not the very best language to create a desktop application with a graphical user interface, but if you know PHP very well, and would like to use some advanced PHP features in your client-side applications you can also use PHP- GTK to write such programs. You also have the ability to write cross- platform applications this way.

Database Strength: Adabas DInterBasePostgreSQL dBaseFrontBaseSQLite EmpressmSQLSolid FilePro (read-only)Direct MS-SQLSybase HyperwaveMySQLVelocis IBM DB2ODBCUnix dbm InformixOracle (OCI7 and OCI8) IngresOvrimos

Ubiquitous Setups: - Most commonly used with Apache Web Server as module - Most commonly used with MySQL Database Server - Most commonly used on the Linux platform Additional Common Setups: - Growing number of installations on Windows machines - Local development setups are popular

19/562,759 Domains, 1,305,799 IP Addresses

Simple Web Page Example: helloworld.php Example

The Guts Variables: - variables are given a value at declaration but not a type $foo = 0; - always preceded by the dollar sign: $ - vars can be converted to common specific types (int, variant, etc.) - typical scope rules apply, but global command may be used for public or global variables

The Guts Functions: - typically declared in “global” files that are included by all your other website pages -> keep them in one place - optionally with arguments and can return values <?php function fooFunction($arg1, $arg2 = '') { if (condition) { statement; } return $val; } ?>

The Guts Classes: - more forgiving than in C++, VB, C# or similar approaches - excellent way to encapsulate and control code <?php class clsFoo { var $my_color = ‘green’; function clsFoo ($arg1) { $this->my_color = $arg1; } } ?>

Where to Start? (best free MySQL management tool) - (.com) - (version 1.3.x recommended for a local install) - (cheap php/mysql hosting – tons out there) - (coding resource) - (Zend Studio 5.x – Visual Studio-type IDE)