GST Technologies
PHP COURSES

 

Introduction to Php
What is PHP? History and versions
Installing PHP, Apache, MySQL (XAMPP/WAMP/LAMP)
Basic syntax and PHP tags
Embedding PHP in HTML
Variables, Data Types & Operators
Variables and constants
Data types (Integer, Float, String, Boolean, Array, Object, NULL)
Type casting
Arithmetic, Assignment, Comparison, Logical, Increment/Decrement, String operators
Control Structures
Conditional statements (if, if-else, if-elseif-else, switch)
Loops (while, do-while, for, foreach)
Break, continue, exit/die
Functions
Defining and calling functions
Function arguments (default, dynamic, return values)
Variable scope (global, local, static)
Built-in functions (string, array, date/time, math)
Anonymous functions and closures
Arrays
Indexed, Associative, Multidimensional arrays
Array functions (array_push, array_pop, array_merge, etc.)
Array iteration (foreach, array_map, array_filter)
Forms and User Input
Form submission (GET and POST)
$_GET, $_POST, $_REQUEST, $_SERVER
Input validation and sanitization
Working with Strings and Regular Expressions
String manipulation functions (strlen, strpos, substr, etc.)
Regular expressions (preg_match, preg_replace)
Working with Files
Reading and writing files
fopen, fread, fwrite, fclose
File handling functions (file_exists, filesize, etc.)
PHP & MySQL Integration
Connecting to MySQL using MySQLi and PDO
Executing queries (SELECT, INSERT, UPDATE, DELETE)
Fetching results (mysqli_fetch_array, mysqli_fetch_assoc)
Prepared statements and SQL injection prevention
Sessions and Cookies
Using cookies (setcookie, $_COOKIE)
Using sessions (session_start, $_SESSION)
Login/logout systems
Error Handling
Types of errors (Syntax, Runtime, Logical)
Error reporting
try-catch blocks and exception handling
OOP in PHP (Object-Oriented Programming)
Classes and objects
Properties and methods
Constructor and destructor
Inheritance, Interface, Traits
Visibility (public, private, protected)
Static methods/properties
Namespaces and autoloading (spl_autoload_register)
PHP and Web Security
Input sanitization and validation
SQL Injection protection
XSS & CSRF protection
Password hashing (password_hash, password_verify)
GST TECHNOLOGY