Search found 2 matches

by finderetf
Thu Dec 16, 2010 8:26 am
Forum: PHP - Code
Topic: auto prepend file versus require() or require_once()
Replies: 3
Views: 541

Re: auto prepend file versus require() or require_once()

I have one access point php file. Let's call it ap.php. There are directed all of my ajax calls.If I can have 1000 different ajax calls, you can imagine what code I have behind ap.php . I think I can speed it up, but only I'm interested to know if auto prepend file put php file into php core, or jus...
by finderetf
Thu Dec 16, 2010 7:43 am
Forum: PHP - Code
Topic: auto prepend file versus require() or require_once()
Replies: 3
Views: 541

auto prepend file versus require() or require_once()

I'm using require_once() method, and I need to load a lot of files, but depending by case, I load certain php file, not all at once. I'm trying to speed up my application, and I'm wondering if I can put all of them into php.ini file as auto prepend files. Question : Does auto prepend file do the sam...