PHP PROGRAMMING
Prepared By: Dept Of CSE, RGMCET Page 2
Introduction to Strings-Creating and accessing String, String Related Library function.
File handling in php-Defining a File, different file operations.
UNIT IV
Introduction to OOPS-Introduction Objects, Declaring a class, properties and methods,
Inheritance ,Polymorphism & encapsulation, constructor, Destructor, Extending classes, using
$this, Using access specifiers, Abstract method and class, using interface.
UNIT V
PHP Advanced Concepts- Using Cookies, Using HTTP Headers, Using Sessions, Using
Environment and Configuration variables.
Working with Date and Time-Displaying Human-Readable Dates and Times, Finding the Date
for a Weekday, Getting the Day and Week of the Year, Determining Whether a Given Year Is a
Leap Year, Obtaining the Difference Between Two Dates, Determining the Number of Days in
the Current Month, Determining the Number of Days in Any Given Month.
UNIT VI
Creating and Using Forms- Understanding Common Form Issues, GET vs. POST, Validating
form input, Working with multiple forms, and Preventing Multiple Submissions of a form.
PHP and Database Access- Basic Database Concepts, Connecting to a MYSQL database,
Performing basic database operations-create, Insert, Retrieving and Displaying results,
Modifying, Updating and Deleting data.
TEXT BOOKS:
1. Beginning PHP and MySQL, 3
rd
Edition, Jason Gilmore, Apress Publications (Dream
tech.).
2. PHP 5 Recipes A problem Solution Approach Lee Babin, Nathan A Good, Frank
M.Kromann and Jon Stephens.
REFERENCES:
1. Open Source Web Development with LAMP using Linux, Apache, MySQL, Perl and
PHP, J.Lee and B.Ware(Addison Wesley) Pearson Education.
2. PHP 6 Fast and Easy Web Development, Julie Meloni and Matt Telles, CengageLearning
Publications.