Re: [PHP] Silly question - include vs. eval

2009-03-12 Thread Robert Cummings
On Wed, 2009-03-11 at 19:50 -0500, Shawn McKenzie wrote: > Robert Cummings wrote: > > On Wed, 2009-03-11 at 16:16 -0500, Shawn McKenzie wrote: > >> Shawn McKenzie wrote: > >>> Robert Cummings wrote: > On Wed, 2009-03-11 at 13:20 -0500, Shawn McKenzie wrote: > > Robert Cummings wrote: > >>>

Re: [PHP] Silly question - include vs. eval

2009-03-11 Thread Shawn McKenzie
Robert Cummings wrote: > On Wed, 2009-03-11 at 16:16 -0500, Shawn McKenzie wrote: >> Shawn McKenzie wrote: >>> Robert Cummings wrote: On Wed, 2009-03-11 at 13:20 -0500, Shawn McKenzie wrote: > Robert Cummings wrote: >> On Wed, 2009-03-11 at 12:19 -0500, Shawn McKenzie wrote: >>> Sá

Re: [PHP] Silly question - include vs. eval

2009-03-11 Thread Robert Cummings
On Wed, 2009-03-11 at 16:16 -0500, Shawn McKenzie wrote: > Shawn McKenzie wrote: > > Robert Cummings wrote: > >> On Wed, 2009-03-11 at 13:20 -0500, Shawn McKenzie wrote: > >>> Robert Cummings wrote: > On Wed, 2009-03-11 at 12:19 -0500, Shawn McKenzie wrote: > > Sándor Tamás (HostWare Kft .

Re: [PHP] Silly question - include vs. eval

2009-03-11 Thread Shawn McKenzie
Shawn McKenzie wrote: > Robert Cummings wrote: >> On Wed, 2009-03-11 at 13:20 -0500, Shawn McKenzie wrote: >>> Robert Cummings wrote: On Wed, 2009-03-11 at 12:19 -0500, Shawn McKenzie wrote: > Sándor Tamás (HostWare Kft . ) wrote: >> Yes, Rob is right. My original question is about the

Re: [PHP] Silly question - include vs. eval

2009-03-11 Thread Shawn McKenzie
Robert Cummings wrote: > On Wed, 2009-03-11 at 13:20 -0500, Shawn McKenzie wrote: >> Robert Cummings wrote: >>> On Wed, 2009-03-11 at 12:19 -0500, Shawn McKenzie wrote: Sándor Tamás (HostWare Kft . ) wrote: > Yes, Rob is right. My original question is about the difference between > the

Re: [PHP] Silly question - include vs. eval

2009-03-11 Thread Robert Cummings
On Wed, 2009-03-11 at 13:20 -0500, Shawn McKenzie wrote: > Robert Cummings wrote: > > On Wed, 2009-03-11 at 12:19 -0500, Shawn McKenzie wrote: > >> Sándor Tamás (HostWare Kft . ) wrote: > >>> Yes, Rob is right. My original question is about the difference between > >>> the processing of a file-base

Re: [PHP] Silly question - include vs. eval

2009-03-11 Thread Shawn McKenzie
Robert Cummings wrote: > On Wed, 2009-03-11 at 12:19 -0500, Shawn McKenzie wrote: >> Sándor Tamás (HostWare Kft . ) wrote: >>> Yes, Rob is right. My original question is about the difference between >>> the processing of a file-based site with include() OR eval(). In that >>> case, if I understood

Re: [PHP] Silly question - include vs. eval

2009-03-11 Thread Robert Cummings
On Wed, 2009-03-11 at 12:19 -0500, Shawn McKenzie wrote: > Sándor Tamás (HostWare Kft . ) wrote: > > Yes, Rob is right. My original question is about the difference between > > the processing of a file-based site with include() OR eval(). In that > > case, if I understood it correctly, the results

Re: [PHP] Silly question - include vs. eval

2009-03-11 Thread Kyle Terry
On Wed, Mar 11, 2009 at 10:19 AM, Shawn McKenzie wrote: > Sándor Tamás (HostWare Kft . ) wrote: > > Yes, Rob is right. My original question is about the difference between > > the processing of a file-based site with include() OR eval(). In that > > case, if I understood it correctly, the results

Re: [PHP] Silly question - include vs. eval

2009-03-11 Thread Shawn McKenzie
Sándor Tamás (HostWare Kft . ) wrote: > Yes, Rob is right. My original question is about the difference between > the processing of a file-based site with include() OR eval(). In that > case, if I understood it correctly, the results are the same. > > But! If the included pages contain functions,

Re: [PHP] Silly question - include vs. eval

2009-03-11 Thread Robert Cummings
On Wed, 2009-03-11 at 14:03 +0100, Sándor Tamás (HostWare Kft.) wrote: > Yes, Rob is right. My original question is about the difference between the > processing of a file-based site with include() OR eval(). In that case, if I > understood it correctly, the results are the same. > > But! If the

Re: [PHP] Silly question - include vs. eval

2009-03-11 Thread HostWare Kft.
uot; To: "Virgilio Quilario" Cc: "Sándor Tamás (HostWare Kft.)" ; Sent: Wednesday, March 11, 2009 1:55 PM Subject: Re: [PHP] Silly question - include vs. eval On Wed, 2009-03-11 at 20:49 +0800, Virgilio Quilario wrote: >> Hi, >> >> I wo

Re: [PHP] Silly question - include vs. eval

2009-03-11 Thread Robert Cummings
On Wed, 2009-03-11 at 20:49 +0800, Virgilio Quilario wrote: > >> Hi, > >> > >> I wondering what is the difference between include(), and eval(' > >> ?>'.file_get_content().' >> > >> If there is something I should be aware, please, let me know. > > > > Use include since it allows a cache like eAcc

Re: [PHP] Silly question - include vs. eval

2009-03-11 Thread Virgilio Quilario
>> Hi, >> >> I wondering what is the difference between include(), and eval(' >> ?>'.file_get_content().' > >> If there is something I should be aware, please, let me know. > > Use include since it allows a cache like eAccelerator or APC to work. > Eval never gets cached. Also, include let's the e

Re: [PHP] Silly question - include vs. eval

2009-03-11 Thread Robert Cummings
On Wed, 2009-03-11 at 08:33 -0400, Robert Cummings wrote: > On Wed, 2009-03-11 at 13:07 +0100, Sándor Tamás (HostWare Kft.) wrote: > > Hi, > > > > I wondering what is the difference between include(), and eval(' > > ?>'.file_get_content().' > > > If there is something I should be aware, please,

Re: [PHP] Silly question - include vs. eval

2009-03-11 Thread Robert Cummings
On Wed, 2009-03-11 at 13:07 +0100, Sándor Tamás (HostWare Kft.) wrote: > Hi, > > I wondering what is the difference between include(), and eval(' > ?>'.file_get_content().' > If there is something I should be aware, please, let me know. Use include since it allows a cache like eAccelerator or

[PHP] Silly question - include vs. eval

2009-03-11 Thread HostWare Kft.
Hi, I wondering what is the difference between include(), and eval(' ?>'.file_get_content().'