Re: Require() vs Include()
| From: | Chris Doyle | Date: | Tue, 14 Nov 2000 05:22:14 +0000 |
| Subject: | Re: Require() vs Include() | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-25139@lists.php.net to get a copy of this message | ||
Generaly everyone i have know to use require(""); uses it to include
librarys/classes and such. stuff that you definately are going to need. It
is more stable i think.
CD
_______________________________
This email may contain confidential and/or privileged information for the
sole use of the intended recipient. Any review or distribution by others is
strictly prohibited. If you have received this email in error, please
contact the sender and delete all copies. Opinions, conclusions or other
information expressed or contained in this email are not given or endorsed
by the sender unless otherwise affirmed independently by the sender.
_________________________________
----- Original Message -----
From: "Lars Torben Wilson" <torben@pinc.com>
To: "Maxim Maletsky" <maxim.maletsky@japaninc.net>
Cc: <Lawrence.Sheed@dfait-maeci.gc.ca>; <php-general@lists.php.net>
Sent: Tuesday, November 14, 2000 4:18 PM
Subject: RE: [PHP] Require() vs Include()
> Maxim Maletsky writes:
> > Does that mean that we can freely write to the whole mailing list (the
whole
> > world)
> >
> >
> > DO NEVER USE REQUIRE() SINCE THERE'S INCLUDE() WHICH IS 100.00% BETTER
>
> Why on Earth would you want to do something like that?
>
> > ?
> >
> >
> > I mean, in something require() is still being good, isn't it?
> >
> > Cheers,
> > Maxim Maletsky
>
> If you have a serious problem with it, like Joe seems to :), then
> don't use it. No problem. But there is also no reason to tell
> everybody not to use it like that. Someone might have a valid reason.
>
> But in general, if you don't have a good reason to want it, and are
> happy without it, then there is no really persuasive reason to use it.
>
>
> --
> +----------------------------------------------------------------+
> |Torben Wilson <torben@php.net> Netmill iTech|
> |http://www.coastnet.com/~torben
> http://www.netmill.fi|
> |Ph: 1 250 383-9735 torben@netmill.fi|
> +----------------------------------------------------------------+
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
> For additional commands, e-mail: php-general-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
>
>