Exam4Training

How can you determine whether a PHP script has already sent cookies to the client?

How can you determine whether a PHP script has already sent cookies to the client?
A . Use $_COOKIE
B . Use the getcookie() function
C . Use the headers_sent() function
D . Use JavaScript to send a second HTTP request

Answer: C

Exit mobile version