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
I-edit ang Content
Save
Like
I-Print kini
Embed
Uban pa
Assignments
Leaderboard
Show more
Show less
Kini nga leaderboard naka-pribado. Pag-klik sa
Share
aron himuon kini nga publiko.
Kini nga leaderboard gi-disable sa tag-iya sa resource.
Kini nga leaderboard gi-disable tungod ang imong mga kapilian lahi ra sa tag-iya sa resource.
I-revert ang mga Kapilian
Ang
Type the answer
usa ka open-ended nga template. Dili kini makamugna ug mga marka sa leaderboard.
Kinahanglan mag log in
Visual style
Fonts
Subscription required
Mga Option
I-switch ang template
Ipakita tanan
Open results
Copy link
QR code
Mag-delete
I-restore ang gi-autosave:
?