Hi Sachin, no. That's not the same. In your first sample you have only a file name, this will be search into the include paths. In your second sample you have a path to a file, the include path will be ignored. from http://php.net/manual/en/function.include.php: "If a path is defined — whether absolute (starting with a drive letter or \ on Windows, or / on Unix/Linux systems) or relative to the current directory (starting with . or ..) — the include_path will be ignored altogether. For example, if a filename begins with ../, the parser will look in the parent directory to find the requested file." Mit freundlichen Grüßen, King regards, Tobias Fichtner -- [w] http://tobiasfichtner.com/ [gpg] 0x8498F4B2 [fp] 2978 57FB 155B 30BE 7316 AA7D D79C 4A0A 8498 F4B2 -----Ursprüngliche Nachricht----- Von: Sachin Raut [mailto:imsachinraut@xxxxxxxxx] Gesendet: Mittwoch, 15. Oktober 2014 07:25 An: PHP Mailinglist Betreff: beginners question hi group, i just want to know if the following statements are same or not. require 'includes/config.inc.php'; & require './includes/config.inc.php'; regards Sachin
<<attachment: smime.p7s>>