Hazırlayan:Emin BORANDAĞ 9/8/20151. Php Define 9/8/20152.

Slides:



Advertisements
Similar presentations
Powerpoint Templates Page 1 Powerpoint Templates Server Side Scripting PHP.
Advertisements

Hypertext Transfer PROTOCOL ----HTTP Sen Wang CSE5232 Network Programming.
CS 22: Enhanced Web Site Design - Week 8Slide 1 of 15 Enhanced Web Site Design Stanford University Continuing Studies CS 22 Mark Branom
UFCE8V-20-3 Information Systems Development 3 (SHAPE HK) Lecture 3 PHP (2) : Functions, User Defined Functions & Environment Variables.
1.  Understanding about How to Working with Server Side Scripting using PHP Framework (CodeIgniter) 2.
1 Configuring Internet- related services (April 22, 2015) © Abdou Illia, Spring 2015.
HTTP HyperText Transfer Protocol. HTTP Uses TCP as its underlying transport protocol Uses port 80 Stateless protocol (i.e. HTTP Server maintains no information.
Advanced Java Class Web Applications – Part 0 (Introduction)
How the web works: HTTP and CGI explained
CP476 Internet Computing Browser and Web Server 1 Web Browsers A client software program that allows you to access and view Web pages on the Internet –Examples.
WWW and Internet The Internet Creation of the Web Languages for document description Active web pages.
Hypertext Transport Protocol CS Dick Steflik.
 What is it ? What is it ?  URI,URN,URL URI,URN,URL  HTTP – methods HTTP – methods  HTTP Request Packets HTTP Request Packets  HTTP Request Headers.
Basic php. Php Official site: PhP manual: Useful package (Apache, MySql,PhP):
Introduction to PHP and Server Side Technology. Slide 2 PHP History Created in 1995 PHP 5.0 is the current version It’s been around since 2004.
Overview A plain HTML document is static A CGI program is executed in real-time, so that it can output dynamic information. CGI (Common Gateway Interface)
آموزش طراحی وب سایت جلسه سوم– لینک ها و آدرس دهی تدریس طراحی وب برای اطلاعات بیشتر تماس بگیرید تاو شماره تماس: پست الکترونیک :
Web Servers1-1 Web Servers Xingquan (Hill) Zhu
HTTP and Server Security James Walden Northern Kentucky University.
1 Web Server Concepts Dr. Awad Khalil Computer Science Department AUC.
INTERNET APPLICATION DEVELOPMENT For More visit:
CHAPTER 12 COOKIES AND SESSIONS. INTRO HTTP is a stateless technology Each page rendered by a browser is unrelated to other pages – even if they are from.
CP476 Internet Computing Lecture 5 : HTTP, WWW and URL 1 Lecture 5. WWW, HTTP and URL Objective: to review the concepts of WWW to understand how HTTP works.
Web application architecture
November 13, 2008 Ohio Information Security Forum Attack Surface of Web Applications James Walden Northern Kentucky University
 2001 Prentice Hall, Inc. All rights reserved. 1 Chapter 21 - Web Servers (IIS, PWS and Apache) Outline 21.1 Introduction 21.2 HTTP Request Types 21.3.
ITIS 1210 Introduction to Web-Based Information Systems Chapter 23 How Web Host Servers Work.
1 Apache. 2 Module - Apache ♦ Overview This module focuses on configuring and customizing Apache web server. Apache is a commonly used Hypertext Transfer.
Digital Multimedia, 2nd edition Nigel Chapman & Jenny Chapman Chapter 17 This presentation © 2004, MacAvon Media Productions Multimedia and Networks.
CS320 Web and Internet Programming Handling HTTP Requests Chengyu Sun California State University, Los Angeles.
20-753: Fundamentals of Web Programming Copyright © 1999, Carnegie Mellon. All Rights Reserved. 1 Lecture 7: HTTP and CGI Fundamentals of Web Programming.
CS146 Database Systems &Team Projects Spring 2009.
The Inter-network is a big network of networks.. The five-layer networking model for the internet.
Architecture of the web Client Server retrieved or generated web page.
1 Welcome to CSC 301 Web Programming Charles Frank.
1 Chapter 9 – Cookies, Sessions, FTP, and More spring into PHP 5 by Steven Holzner Slides were developed by Jack Davis College of Information Science.
Internet Information Server Name : Yao Gu Date : 10-June-2000 COSC : 573.
CSC 2720 Building Web Applications Server-side Scripting with PHP.
October 3, 2008IMI Security Symposium Application Security through a Hacker’s Eyes James Walden Northern Kentucky University
Overview Web Session 3 Matakuliah: Web Database Tahun: 2008.
PHP Open source language for server-side scripting Works well with many databases (e.g., MySQL) Files end in.php,.php3 or.phtml Runs on all major platforms.
Form Data Encoding GET – URL encoded POST – URL encoded
Global Variables - Superglobals Several predefined variables in PHP are "superglobals", which means that they are always accessible, regardless of scope.
WWW: an Internet application Bill Chu. © Bei-Tseng Chu Aug 2000 WWW Web and HTTP WWW web is an interconnected information servers each server maintains.
Part 2 Lecture 9 PHP Superglobals and Form Handling.
Web Technologies Lecture 1 The Internet and HTTP.
Web Design A Brief Intro to the Internet Internet History Internet Protocols 2.
Digital Multimedia, 2nd edition Nigel Chapman & Jenny Chapman Chapter 17 This presentation © 2004, MacAvon Media Productions Multimedia and Networks.
HTTP Here, we examine the hypertext transfer protocol (http) – originally introduced around 1990 but not standardized until 1997 (version 1.0) – protocol.
Module: Software Engineering of Web Applications Chapter 2: Technologies 1.
Windows 7 WampServer 2.1 MySQL PHP 5.3 Script Apache Server User Record or Select Media Upload to Internet Return URL Forward URL Create.
Web Server Apache PHP HTTP Request User types URL into browser Address resolved if nec. We use directly Most browsers request.
LURP Details. LURP Lab Details  1.Given a GET … call a proxy CGI script in the same way you would for a normal CGI request  2.This UDP perl.
NMD202 Web Scripting Week2. Web site
COSC 2328 – Web Programming.  PHP is a server scripting language  It’s widely-used and free  It’s an alternative to Microsoft’s ASP and Ruby  PHP.
Session 11: Cookies, Sessions ans Security iNET Academy Open Source Web Development.
How Web Servers and The Internet Work The Basic Process.
HTML Introduction HTML Editors HTML Basic HTML Elements HTML Attributes HTML Headings HTML Paragraphs HTML Formatting HTML Links HTML Head HTML CSS HTML.
Web Development Web Servers.
Node.js Express Web Applications
PHP Hypertext Preprocessor
PHP / MySQL Introduction
14-мавзу. Cookie, сеанс, FTP и технологиялари
IS 4506 Server Configuration (HTTP Server)
PHP and Forms.
The HTTP Protocol COSC 2206 Internet Tools The HTTP Protocol
Architecture of the web
APACHE WEB SERVER.
PHP Forms and Databases.
PHP Lecture 11 Kanida Sinmai
Presentation transcript:

Hazırlayan:Emin BORANDAĞ 9/8/20151

Php Define 9/8/20152

Php Aritmetik Operatörler 9/8/20153

Php Atama Operatörleri 9/8/20154

Php Karşılaştırma Operatörleri 9/8/20155

Php Arttırma Azaltma ve Mantıksal Operatörler 9/8/20156

String ve Dizi Operatörleri 9/8/20157

Php If The hour (of the server) is ". $t; echo ", and will give the following message: "; if ($t 9/8/20158

Php Switch 9/8/20159

Php While do While 9/8/ "; $x++; } ?> "; $x++; } while ($x

Php For ve ForEach 9/8/ "; } ?>

Php Fonksiyon 9/8/ "; echo " = ". sum(7,13). " "; echo "2 + 4 = ". sum(2,4); ?> "; } familyName("Hege","1975"); familyName("Stale","1978"); familyName("Kai Jim","1983"); ?>

Php Dizler 9/8/ "; } ?>

Php Hazır Fonksiyonlar "; } ?> 9/8/ "; } ?>

Php Super Global "; echo $_SERVER['SERVER_NAME']; echo " "; echo $_SERVER['HTTP_HOST']; echo " "; echo $_SERVER['HTTP_REFERER']; echo " "; echo $_SERVER['HTTP_USER_AGENT']; echo " "; echo $_SERVER['SCRIPT_NAME']; ?> 9/8/201515

Element/CodeDescription $_SERVER['PHP_SELF']Returns the filename of the currently executing script $_SERVER['GATEWAY_INTERFACE']Returns the version of the Common Gateway Interface (CGI) the server is using $_SERVER['SERVER_ADDR']Returns the IP address of the host server $_SERVER['SERVER_NAME']Returns the name of the host server (such as $_SERVER['SERVER_SOFTWARE']Returns the server identification string (such as Apache/2.2.24) $_SERVER['SERVER_PROTOCOL']Returns the name and revision of the information protocol (such as HTTP/1.1) $_SERVER['REQUEST_METHOD']Returns the request method used to access the page (such as POST) $_SERVER['REQUEST_TIME']Returns the timestamp of the start of the request (such as ) $_SERVER['QUERY_STRING']Returns the query string if the page is accessed via a query string $_SERVER['HTTP_ACCEPT']Returns the Accept header from the current request $_SERVER['HTTP_ACCEPT_CHARSET']Returns the Accept_Charset header from the current request (such as utf-8,ISO ) $_SERVER['HTTP_HOST']Returns the Host header from the current request $_SERVER['HTTP_REFERER']Returns the complete URL of the current page (not reliable because not all user-agents support it) $_SERVER['HTTPS']Is the script queried through a secure HTTP protocol $_SERVER['REMOTE_ADDR']Returns the IP address from where the user is viewing the current page $_SERVER['REMOTE_HOST']Returns the Host name from where the user is viewing the current page $_SERVER['REMOTE_PORT']Returns the port being used on the user's machine to communicate with the web server $_SERVER['SCRIPT_FILENAME']Returns the absolute pathname of the currently executing script $_SERVER['SERVER_ADMIN'] Returns the value given to the SERVER_ADMIN directive in the web server configuration file (if your script runs on a virtual host, it will be the value defined for that virtual host) (such as $_SERVER['SERVER_PORT']Returns the port on the server machine being used by the web server for communication (such as 80) $_SERVER['SERVER_SIGNATURE']Returns the server version and virtual host name which are added to server-generated pages $_SERVER['PATH_TRANSLATED']Returns the file system based path to the current script $_SERVER['SCRIPT_NAME']Returns the path of the current script $_SERVER['SCRIPT_URI']Returns the URI of the current page 9/8/201516

Php Dosya Yazma 9/8/201517

Diğer Php Konuları… PHP Advanced PHP Arrays Multi PHP Date and Time PHP Include PHP File Handling PHP File Open/Read PHP File Create/Write PHP File Upload PHP Cookies PHP Sessions PHP Filters PHP Filters Advanced PHP Error Handling PHP Exception 9/8/ PHP - XML PHP XML Parsers PHP SimpleXML Parser PHP SimpleXML - Get PHP XML Expat PHP XML DOM PHP - AJAX AJAX Intro AJAX PHP AJAX Database AJAX XML AJAX Live Search AJAX RSS Reader AJAX Poll PHP Examples PHP Quiz PHP Certificate PHP Reference PHP Array PHP Calendar PHP Date PHP Directory PHP Error PHP Filesystem PHP Filter PHP FTP PHP HTTP PHP Libxml PHP Mail PHP Math PHP Misc PHP MySQLi PHP SimpleXML PHP String PHP XML PHP Zip PHP Timezones