1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
nignag [31]
3 years ago
14

Which of the following that can be use read cookies in PHP?

Computers and Technology
1 answer:
iris [78.8K]3 years ago
8 0

Answer:

a. $_COOKIE

Explanation:

$_COOKIE represents an associative array of Cookie name and value in PHP. For example in the code below we use the $_COOKIE construct to read the value of a cookie called 'testcookie' provided it has already been set.

<html>

<body>

<?php

if(!isset($_COOKIE["testcookie"])) {

   echo "Cookie 'testcookie' is not defined!";

} else {

   echo "Value of 'testcookie' is: " . $_COOKIE["testcookie"];

}

?>

</body>

</html>

You might be interested in
Brainly, ""helping you get better grades"
leonid [27]

Answer: What do you except? All of this is user generated..

Explanation:

5 0
3 years ago
Read 2 more answers
Write five importanceof saving a file.​
olga nikolaevna [1]

Explanation:

number 1 it will be safe for future use number 2 it helps in our rest of the work

number 3 saving a file is a very good habit number for importance of saving file are a very very nice number 5 I hope it help please give me your ratings and like and also don't forget to read the brainly.com

8 0
2 years ago
Can you answer this ?​
beks73 [17]

Answer:

Answer it yourself.

Explanation:

NO.

4 0
2 years ago
Read 2 more answers
Yo don't take this down just join this server you can say what ever
MrMuchimi

Answer:

Stop this and watch some prawns

4 0
3 years ago
How can you say that a computer is a versatile machine?​
Jobisdone [24]

Answer:

A computer is a versatile machine because is used for many purposes,a modern day computer can run multiple data at once making a fast and efficient machine very durable and effective for our use in all areas of life.

8 0
3 years ago
Other questions:
  • Which of the following is a geolocation service on an Internet browser?
    5·2 answers
  • Over time, programming languages have evolved in phases called ________.
    5·2 answers
  • An iframe is an inline table for a website. True False i need an answer fast
    15·1 answer
  • A growing number of large organizations have built internal Web sites that provide opportunities for online social networking am
    7·1 answer
  • Which of the following best describes compounds.
    12·1 answer
  • Write the definition of a method printDottedLine, which has no parameters and doesn't return anything. The method prints to stan
    12·1 answer
  • Why must programs written in a high level language be translated into machine language before they can run?
    14·1 answer
  • Which of the following rules need to be followed when using variables?<br> Choose all that apply.
    9·2 answers
  • The economic importance of computer viruses​
    14·2 answers
  • Explain briefly how learning how to follow can make a person a good leader
    5·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!