Re: [PHP] help out a noob w/ include switch?

2005-09-21 Thread Philip Hallstrom
Hi All, My very first post to this group as I'm a freshly spanked new born php baby. Hope I have the correct stop for noob tech questions. Please re-direct me if I have it wrong. I've been doing web dev for a quite while with a variety of methods (html, xhtml/css, cfml, flash/as, on and

[PHP] help out a noob w/ include switch?

2005-09-20 Thread jay thompson
Hi All, My very first post to this group as I'm a freshly spanked new born php baby. Hope I have the correct stop for noob tech questions. Please re-direct me if I have it wrong. I've been doing web dev for a quite while with a variety of methods (html, xhtml/css, cfml, flash/as, on and

Re: [PHP] help out a noob w/ include switch?

2005-09-20 Thread Robert Cummings
On Tue, 2005-09-20 at 18:41, jay thompson wrote: Hi All, My very first post to this group as I'm a freshly spanked new born php baby. Hope I have the correct stop for noob tech questions. Please [-- SNP --] Try verifying your include path in php.ini for the NT version.

Re: [PHP] help out a noob w/ include switch?

2005-09-20 Thread Thorsten Suckow-Homberg
Hi All, My very first post to this group as I'm a freshly spanked new born php baby. Hope I have the correct stop for noob tech questions. Welcome :) [source] First guess: On your live server the ini-value error_reporting is switched to report anything but notices and warnings or

Re: [PHP] help out a noob w/ include switch?

2005-09-20 Thread Jasper Bryant-Greene
jay thompson wrote: index.php: ?php include 'content.php'; //sets the section title echo $title; ? ?php include 'navigate.php'; //sets appropriate navigation menu echo $navigate; ? ?php echo $content; //loads body text ? There is no need to switch

Re: [PHP] help out a noob w/ include switch?

2005-09-20 Thread Robert Cummings
On Tue, 2005-09-20 at 19:14, Thorsten Suckow-Homberg wrote: Hi All, My very first post to this group as I'm a freshly spanked new born php baby. Hope I have the correct stop for noob tech questions. Welcome :) [source] First guess: On your live server the ini-value

Re: [PHP] help out a noob w/ include switch?

2005-09-20 Thread jt
Thanks Thorsten and Rob, Sry my bogus code was error filled. This is not the case with the actual code. I was a little quick in removing the large amounts of text that are actually contained in the cases and case 1,2,3: is just to say there are many more cases. Could this be a problem

Re: [PHP] help out a noob w/ include switch?

2005-09-20 Thread Robert Cummings
On Tue, 2005-09-20 at 19:41, jt wrote: Thanks Thorsten and Rob, Sry my bogus code was error filled. This is not the case with the actual code. I was a little quick in removing the large amounts of text that are actually contained in the cases and case 1,2,3: is just to say there are

Re: [PHP] help out a noob w/ include switch?

2005-09-20 Thread Thorsten Suckow-Homberg
[...] Try the following: 1) include() will only trigger a warning if the requested file is not within the include path. Thus, to make sure the file is found, you should use require() which triggers a fatal error and prevends the script from being executed if the given filename as the