answersLogoWhite

0


Best Answer

Web server passes the requested document to PHP interpreter, which validates and processes PHP code in it, then the server reads the response from PHP interpreter and returns the resulting response to client.

For an instance, Apache HTTPD uses instructions such as AddType, to know how to process various documents, basing on their extensions (the following example is common and may require changes depending on Apache HTTPD and PHP configuration):

AddType application/x-httpd-php .php .p8p .txt

This directive instructs Apache HTTPD to let PHP process files which are suffixed with .php, .p8p or .txt, thus files such as index.php, Homepage.p8p and Settings.txt will be processed by PHP.

User Avatar

Wiki User

14y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: How does a web server determine whether a requested document includes PHP code?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

How can you change the trustee on your trust?

You need to review the trust document to determine whether you have that power and how it must be exercised.


Can a notary public from Florida notarized an interational document?

Notary Public's can notarize any document they are presented with. It is up to the holder of the document to determine whether that notarization will stand up, or not, wherever it is presented - NOT the Notary's.


What criteria used to determine whether something is a live includes movement growth and what?

Yes.


Which characteristic can be used to determine whether a route is an ultimate route?

The route includes an exit interface


What if beneficiaries of a trust want to remove a beneficiary from a revocable trust?

You need to review the trust document to determine whether the beneficiaries have that power and how it must be exercised.


Do you have to sign for delivery of express mail?

It depends on whether or not the sender requested a signature.


How do you determine whether a rock is a rhyolite or an andesite?

The composition of the rock will determine whether it is a rhyolite or an andesite.


How can understanding a documents intended audience help you determine its purpose?

Understanding the intended audience of a document can give insights into why the document was created and what message the creator intended to convey. By knowing who the audience is, you can better grasp the purpose of the document, whether it is to inform, persuade, entertain, or some other goal. Matching the purpose with the intended audience helps you interpret the document more accurately.


Is it proper to request an evidentiary hearing in a civil matter when you have not received the requested discovery but the judge will not dismiss the case based on this fact?

A hearing to determine whether evidence can be used. If it was obtained with probable cause or not or otherwise illegally or simply may not pertain to the case


How can you use the prime factorization of a number to determine whether the number is even or odd?

If the factorization includes the number 2, it's even. If not, it's odd.


What can Electromyography determine?

EMG can determine whether a particular muscle is responding appropriately to stimulation, and whether a muscle remains inactive when not stimulated


What are some important factors when deciding whether to cancel your authorization?

Whether the document has been amended