answersLogoWhite

0


Best Answer

The "require()" and "include()" variables both bring in a called, parsed page into the calling page the functions are in. The only difference between the two is how they handle errors. Advantages would include better organization. Using these functions, it is very easy to organize a website - by being able to edit one page, and dynamicly edit many other pages at the same time. The functions are quick and easy, assuming the server isn't very busy and can handle well-sized loads. Disadvantages would include how these functions are bandwidth eaters - parsing multiple pages hurts bandwidth (but alternatives could be worse); not to mention the server processing speed. Multiple requests for one page can add up. As for the "require_once()" and "include_once()" variables, advantages would include a page only being called once - for sure. Disadvantages include errors on trying to include that same page again.

User Avatar

Wiki User

15y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: What are the advantages and disadvantages of the PHP functions include and require - and any functions that branch off of them?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

What are the advantages and disadvantages of the PHP functions include and require and any functions that branch off of them?

something


Disadvantages of rockets?

The advantages are it can take you up to space.The disadvantages are you are talking a risk to go to space.


What are the advantages and disadvantages of food service work?

Advantages of food service work could be that it is an easy job that does not require much education. Disadvantages are that they do not pay well and that you can be easily replaced.


What are the disadvantages and advantages series circuit?

There are no particular advantages or disadvantages of series or parallel circuits. Some circuits require one while other circuits require the other. Frequency filters often require one or the other depending on whether you need a pass or rejection filter.


What are the advantages and disadvantages of series circuits?

There are no particular advantages or disadvantages of series or parallel circuits. Some circuits require one while other circuits require the other. Frequency filters often require one or the other depending on whether you need a pass or rejection filter.


What are the disadvantages of Hoop Pine?

Pine has a number of disadvantages including: a lot of resinous knots, prone to denting and it will always require the application of a preservative before staining and painting. Some of the advantages of pine include its ability to blend with other pieces of furniture as well as it relatively low cost http://uk.ask.com/question/what-are-the-advantages-and-disadvantages-of-pine answer from


Give an advantage and a disadvantage of using online or virtual microscopes?

Advantages of virtual microscopes include the fact that they're a great learning tool, and they require no maintenance. Disadvantages include the fact that the samples are not able to be rescanned, and the ability to manipulate images is limited.


What are the advantages and disadvantages of finding the convenient denominator?

The advantage, as the name suggests, is that it is convenient. A possible disadvantages are that the calculations may involve larger numbers and the answer is more likely to require simplification


Advantages and disadvantades touch sensitive device?

Advantages- You can select the option very quickly you do not require any training to use it Disadvantages-The system is sensitive It is limited to certain applications


What are the advantages and disadvantages of the third generation?

The advantages of the third generation computers are:1. faster2. smaller3. uses less energy4. uses high level programming5. cheaper7. lower maintenance costthe disadvantages are:1. still require air conditioning


What are the advantages and disadvantages of piezoelectric sensors?

Advantages:- They generate a voltage proportional to the velocity the crystal is deformed so require no local power source. Disadvantages;- They are high impedence and can pick up stray voltages in the connecting wires. The crystal is also prone to cracking if overstressed


Advantages and disadvantages of overhead transparencies during presentations?

ADVANTAGES:- good for large groups- easy to create- easy to transport- provide an informal atmosphere- open to interaction with groups- easy to update DISADVANTAGES:- impermanent; they yellow with age- require less common equipment