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

Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments