[FX.php List] The skinny on includes

Steve Winter steve at bluecrocodile.co.nz
Wed Jun 22 15:54:59 MDT 2011


I always use require_once, since I only ever want to include anything once, and as anything I'm 'including' will contain essential functions, I need the entire thing to fail if it doesn't happen...

Cheers
Steve

Sent from the iPhone of Steve Winter
Matatiro Solutions
steve at matatirosolutions.co.uk
+44 777 852 4776

On 22 Jun 2011, at 22:51, Bob Patin <bob at patin.com> wrote:

> So what about include vs. include_once? What do you use when you do FX apps? 
> 
> BP
> Longterm Solutions
> bob at longtermsolutions.com
> 615-333-6858
> http://www.longtermsolutions.com
> iChat: bobpatin
> FileMaker 9, 10 & 11 Certified Developer
> Member of FileMaker Business Alliance and FileMaker TechNet
> --
> Expert FileMaker Consulting 
> FileMaker Hosting for all versions of FileMaker
> PHP • Full email services • Free DNS hosting • Colocation • Consulting:
> 
> 
> On Jun 21, 2011, at 2:45 PM, Anders Monsen wrote:
> 
>> There are other things to consider aside from speed.
>> 
>> include will continue after a fatal error, but require will die after a fatal error.
>> 
>> Anders Monsen
>> 
> 
> _______________________________________________
> FX.php_List mailing list
> FX.php_List at mail.iviking.org
> http://www.iviking.org/mailman/listinfo/fx.php_list
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.iviking.org/pipermail/fx.php_list/attachments/20110622/883dad88/attachment-0001.html


More information about the FX.php_List mailing list