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
0%
Advanced PHP colmplete
Share
Share
by
Saadkirillos
Edit Content
Save
Like
Print
Embed
More
Assignments
Leaderboard
Show more
Show less
This leaderboard is currently private. Click
Share
to make it public.
This leaderboard has been disabled by the resource owner.
This leaderboard is disabled as your options are different to the resource owner.
Revert Options
Type the answer
is an open-ended template. It does not generate scores for a leaderboard.
Log in required
Visual style
Fonts
Subscription required
Options
Switch template
Show all
Open results
Copy link
QR code
Delete
Continue editing:
?