Você está na página 1de 6

BALUJA INSTITUTE OF TECHNOLOGY & MANAGEMENT

SUMMER TRAINING IN

) www.balujalabs.com

BALUJA INSTITUTE OF TECHNOLOGY & MANAGEMENT

SUMMER TRAINING IN PHP


PHP recursive acronym for (PHP) Hypertext Preprocessor) is a widelyused open source general-purpose scripting language that is especially suited for web development and can be embedded into HTML PHP is a general-purpose server-side scripting language originally designed for Web development to produce dynamic Web pages. It is one of the first

developed server-side scripting languages to be embedded into an HTML


source document, rather than calling an external file to process data.

www.balujalabs.com

BALUJA INSTITUTE OF TECHNOLOGY & MANAGEMENT SUMMER TRAINING IN PHP


Introduction How PHP works with the web Server How PHP works with the Web Server What a PHP script looks like Saving data for later Basic PHP syntax PHP data types Operators Variable manipulation Dynamic variables String in PHP What is session Starting a session Destroying session Passing session Ids Cookies

The anatomy of a cookie


Setting a cookie with PHP Deleting a cookie Creating session cookie Working with the query string

Creating query string www.balujalabs.com

BALUJA INSTITUTE OF TECHNOLOGY & MANAGEMENT SUMMER TRAINING IN PHP


Control Structures
The if statement Using the else clause with if statement The switch statement Using the operator The while statement The do while statement Reading and writing text files Working with directories in PHP Checking for existence of file

Creating and deleting a file


Determining file size Opening a file for writing, reading, or appending Writing Data to the file

The for statement


Breaking out of loops Nesting loops Summary

www.balujalabs.com

BALUJA INSTITUTE OF TECHNOLOGY & MANAGEMENT SUMMER TRAINING IN PHP


What a function
Defining a function User-defined functions Dynamic function calls Variable scope Single-Dimensional Arrays Multidimensional Arrays Working with Forms Super global variables The server array

A script to acquire user input


Importing user input Accessing user input Combine HTML and PHP code Using hidden fields Redirecting the user File upload and scripts

Casting Arrays
Associative arrays Accessing arrays

www.balujalabs.com

BALUJA INSTITUTE OF TECHNOLOGY & MANAGEMENT

Contact Us
Main Najafgarh Road, Janakpuri A1/17, Top Floor, Opposite Metro Pillar no: 636, New Delhi- 110058 Email Id :- contactus@balujalabs.com
Contact no. : +91-9015596280,
+91-9313565406, 011-65495934

www.balujalabs.com