Quote:
Originariamente inviato da Matrixbob
Non è che tutte le include dovrebbero essere delle required?!
Anche perchè mi servono che esistano tutte le pagine.php scritte x raggiungere il mio scopo.
|
Certo...se sono fondamentali metti require...
require() and include() are identical in every way except how they handle failure. include() produces a Warning while require() results in a Fatal Error. In other words, don't hesitate to use require() if you want a missing file to halt processing of the page. include() does not behave this way, the script will continue regardless.