Re: [PHP-DB] Curious if include_once will work better than include

2004-04-13 Thread Eric Girard
> Curious about "include_once" versus "include". > > All my connection stuff is in "conn.php3". > > I am planning on including it at the top of the page like this: > include_once "conn.php3"; > > Now will that speed things up compared to just using a plain "include". I > call $connectionSDWIS(which

Re: [PHP-DB] Curious if include_once will work better than include

2004-04-13 Thread Mikhail U. Petrov
Hi! Include_once can't include one file several times. I think if you use include_once PHP see if that file already were included, and don't include it one more time... Maybe difference is time to check this... I don't trust this fact: KR> Now will that speed things up compared to just using a pla

Re: [PHP-DB] Curious if include_once will work better than include

2004-04-13 Thread Daniel Clark
My understanding is include_once() called several times in the same page or include files will only be included once. > Curious about "include_once" versus "include". > > All my connection stuff is in "conn.php3". > > I am planning on including it at the top of the page like this: > include_once "