NYCPHP Meetup

NYPHP.org

[nycphp-talk] Differences btw include and require ?

Bhulipongsanon, Pinyo Pinyo.Bhulipongsanon at usa.xerox.com
Fri May 9 12:07:39 EDT 2003


Thanks all.  That cleared it up.

-----Original Message-----
From: Malcolm, Gary [mailto:gmalcolm at professionalcredit.com]
Sent: Friday, May 09, 2003 10:26 AM
To: NYPHP Talk
Subject: RE: [nycphp-talk] Differences btw include and require ?


include_once... solves 2 scripts calling the same include
	plus you can keep processing on a fail for a cleaner error 

> -----Original Message-----
> From: Brian Pang [mailto:bpang at bpang.com]
> Sent: Friday, 09 May, 2003 7:21 AM
> To: NYPHP Talk
> Subject: Re: [nycphp-talk] Differences btw include and require ?
> 
> 
> I use require when I'm just calling in function libraries and includes
> like a server-side include.
> 
> But otherwise, they do seem to behave similarily, don't they..
> 
> 
> > What are the differences?  Personally, I always use include_once().
> > 
> > Thank you.
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> 
> 
> 
> 
> 
> 
> 
> 



--- Unsubscribe at http://nyphp.org/list/ ---




More information about the talk mailing list