Will require_once and include_once together include the file twice?

robertbock

New Member
If I have this:\[code\]require_once('myfile.php');\[/code\]then later:\[code\]include_once('myfile.php');\[/code\]Will the file get included again or just the once?Also what is the difference between the two? Require causes an error on failure and include tries to recover? any other differences?
 
Back
Top