View Single Post
ישן 27-08-06, 14:06   # 10
Itay
חבר מתקדם
 
מיני פרופיל
תאריך הצטרפות: Oct 2005
גיל: 35
הודעות: 564

Itay לא מחובר  

ציטוט:
נכתב במקור על ידי bigsmoke
גם אם נוסיף @ לפני include הוא יתן ERROR + DIE
אך אם נוסיף @ לפני require הוא יתן ERROR אך ימשיך לרוץ
אז זהו.. שבדיוק ההפך
ציטוט:
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.
http://uk.php.net/manual/en/function.require.php
  Reply With Quote