A function that is automatically called when you create an object from a class., constructor, The keyword used to refer to the current object inside a class method., $this, The OOP principle that helps keep code DRY by allowing classes to acquire properties from other classes., inheritance, The programming paradigm that is about creating objects containing both data and functions., oop, The principle of restricting direct access to some of an object's components., encapsulation, A template for objects, defining properties and methods, class, The PHP superglobal array that contains information about files uploaded via an HTTP POST method., $_FILES, A database access layer in PHP that provides a uniform interface for accessing multiple databases., pdo, Small files of information that are stored on the client's browser to persist data between requests., cookies, The PHP function used to create a new cookie or modify an existing one., setcookie, The superglobal array used to retrieve the value of a cookie that was sent from the client's browser., $_COOKIE, The superglobal array specifically designed for storing and accessing session variables., $_SEETION, To set a cookie to expire in one day, you would set the expire parameter to time() + ____________________ seconds., 86400, You should use the ____________________ function to check if a cookie is set before trying to use its value., isset, Session variables are stored on the ____________________, while cookies are stored on the ____________________., server,client, The ____________________ function removes all session variables but does not destroy the session itself., session_unset, In the PDO DSN for MySQL, you specify the database driver using ____________________:., mysql, To connect to a database with PDO, you need to create a new PDO instance with a connection string known as a ____________________., dsn

Advanced PHP colmplete

Papan Peringkat

Gaya visual

Pilihan

Berganti templat

Pulihkan simpan otomatis: ?