NYCPHP Meetup

NYPHP.org

[nycphp-talk] Differences btw include and require ?

Malcolm, Gary gmalcolm at professionalcredit.com
Fri May 9 10:25:24 EDT 2003


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/ ---
> 
> 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.nyphp.org/pipermail/talk/attachments/20030509/ba09831f/attachment.html>


More information about the talk mailing list