Web Application Development using PHP
Get the full GTU study material, English & Gujarati textbook PDFs, syllabus curriculum, and solved previous year question papers.
English Book & Chapters
English Book Coming Soon
We are working hard to add this material. Stay tuned for updates!
Follow on Instagram for UpdatesGTU Previous Year Papers
Papers Coming Soon
We are working hard to add this material. Stay tuned for updates!
Follow on Instagram for UpdatesWeb Application Development using PHP Syllabus — Unit-wise Content
The official GTU curriculum for Web Application Development using PHP (subject code DI04031011) as prescribed for Chem. Green · Semester 4 divides the course into 5 units, covering 36 listed topics. The unit-wise breakdown below is read from the GTU syllabus document for this subject code, so you can check what the course actually covers before deciding which papers to attempt.
Download the official syllabus PDF (DI04031011)Unit 1 Introduction to PHP
- ● Introduction to PHP, History and Advantages of PHP ● Client-Server Environment
- 3-Tier Architecture for a Web Application ● Installation and configuration of XAMPP/WAMP/LAMP server ● Embedding PHP in web pages: File Structure and Syntax ● PHP echo and print statements
- Comments ● PHP Datatypes
- Constants, and Expressions ● PHP Operators ● PHP Conditional Structures (if
- switch-case) ● PHP Looping Structures (for
- break and continue statements ● Basic Debugging Tools: var_dump()
- debug_backtrace() ● Basic error reporting levels: (error_reporting()
Unit 2 PHP Functions, Arrays and Strings
- ● Defining and calling user-defined PHP functions ● Arguments
- default arguments
- passing arguments by value and reference
- returning value ● PHP Variable scopes
- accessing global variables in functions ● Using PHP built-in functions: Mathematical functions
- Date- time functions ● Introduction to PHP Arrays and types of arrays: Indexed
- Associative and Multidimensional arrays ● Creating
- manipulating, and traversing different types of arrays Program Name: Diploma Engineering Level: Diploma Branch: Computer Science and Engineering Subject Code: DI04031011 Subject Name: Web Application Development using PHP ● Array-related library functions: count
- previous, end, each
- array_reverse ● PHP Strings: single quoted
- double quoted
- heredoc syntax
- nowdoc syntax ● Creating & accessing
- replacing, and formatting strings
- encoding and escaping ● String-related library functions: chr, ord, strtolower
Unit 3 Working with Data and Forms
- ● Creating Forms using Form Controls: text box, text area
- radio button
- check box, button
- etc. ● Submitting form data using GET and POST ● Reading form data using $_GET
- $_GLOBALS ● Validate form data using:strip()
- etc. ● Working with directories in PHP ● Reading and writing text files in PHP ● Uploading and downloading files in PHP ● Sending plain text email
- HTML email, and attachments in email ● Basic API Interaction: Using cURL to call external APIs
Unit 4 Working with Cookies & Sessions, Exception Handling
- ● Cookies: creating and setting cookies
- accessing cookies and destroying cookies ● Session: creating a session
- setting session variables
- accessing session data, and destroying a session ● Exception Handling in PHP using try, throw
- catch, and finally blocks ● Logging Errors: Using error_log()
- Writing logs into files
Unit 5 Database Connectivity using MySQLi
- ● Introduction to Database Connectivity and MySQLi ● Managing database using phpMyAdmin ● Establishing Connection with Database and Executing MySQLi Queries Program Name: Diploma Engineering Level: Diploma Branch: Computer Science and Engineering Subject Code: DI04031011 Subject Name: Web Application Development using PHP