RE: [PHP] include, require, require_once
> Lets not destroy the user community now :( All the time I hear "Perl > users > are mea and rude" "The PHP community is great". I am just picking up JSP > (have to, for work) and can't stand their manuals and their users aren't > always as nice. > > Lets keep PHP nice and friendly ;) Yes it is in the manual but it helps > someone new to the language to hear from people who have been using PHP > for > some time and their preferences... > > Jeff I apologize. Too much openbsd misc ;0 Martin. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
RE: [PHP] include, require, require_once
Lets not destroy the user community now :( All the time I hear "Perl users are mea and rude" "The PHP community is great". I am just picking up JSP (have to, for work) and can't stand their manuals and their users aren't always as nice. Lets keep PHP nice and friendly ;) Yes it is in the manual but it helps someone new to the language to hear from people who have been using PHP for some time and their preferences... Jeff > -Original Message- > From: Martin Marconcini [mailto:[EMAIL PROTECTED]] > Sent: Friday, July 20, 2001 10:54 PM > To: 'Thiago Locatelli da Silva'; [EMAIL PROTECTED] > Subject: RE: [PHP] include, require, require_once > > The difference is well explained on www.php.net -> documentation -> > {include, require, require_once} > > RTFM! > > Martin. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
RE: [PHP] include, require, require_once
as of PHP v 4.0.(2/4?) require() and include() behave in the exactly same way. include_once() and require_once() have the only difference from include() and require() - they check whether the file was already parsed within the script or the other included files. If it was the include is ignored. Sincerely, Maxim Maletsky Founder, Chief Developer PHPBeginner.com (Where PHP Begins) [EMAIL PROTECTED] www.phpbeginner.com -Original Message- From: Martin Marconcini [mailto:[EMAIL PROTECTED]] Sent: Saturday, July 21, 2001 11:54 AM To: 'Thiago Locatelli da Silva'; [EMAIL PROTECTED] Subject: RE: [PHP] include, require, require_once > Subject: [PHP] include, require, require_once > > what is the diference beetwen this functions? The difference is well explained on www.php.net -> documentation -> {include, require, require_once} RTFM! Martin. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
RE: [PHP] include, require, require_once
> Subject: [PHP] include, require, require_once > > what is the diference beetwen this functions? The difference is well explained on www.php.net -> documentation -> {include, require, require_once} RTFM! Martin. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
Re: [PHP] include, require, require_once
Hi, On Sat, Jul 21, 2001 at 12:18:38AM -0300, Thiago Locatelli da Silva wrote: > what is the diference beetwen this functions? I believe the include/require_once() functions check to see if that particular include was previously included in the script and if it was it ignores it, at least that is the way I understand it. require() differrs from include() because it will always read the targetted file even if the line of code it is sitting on is never actually executed. Hope that describes it for you. Regards, Josh -- First post to list :) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP] include, require, require_once
what is the diference beetwen this functions? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]