Re: problem with include.
- From: "jonKushner@xxxxxxxxx" <jonKushner@xxxxxxxxx>
- Date: Sun, 6 Jan 2008 12:31:37 -0800 (PST)
On Jan 6, 12:24 pm, Jonas Werres <jo...@xxxxxxxxxxx> wrote:
What is happening?
What makes you think that the generally working code is interesting but
the included code that causes the problem is not?
What is your error level? Is display_errors activated? Do you have
Access to the error log of the webserver?
I don't see anything going on, which leads me to believe its working
fine. Add error_reporting(E_ALL | E_STRICT) inside common and run a
function inside the IF block that was icluded in common.
I.E.
// common.php
error_reporting(E_ALL | E_STRICT);
function scream_yayyyy( ) { echo "WOOOOOOOOOOT"; }
// main file
require_once 'common.php';
if( user && password && database ) scream_yayyyy();
.
- Follow-Ups:
- Re: problem with include.
- From: SoulIntruder
- Re: problem with include.
- References:
- problem with include.
- From: SoulIntruder
- Re: problem with include.
- From: Jonas Werres
- problem with include.
- Prev by Date: Re: I just don't have a great feeling about diving into ZF
- Next by Date: Re: Reducing load for LAMP app?
- Previous by thread: Re: problem with include.
- Next by thread: Re: problem with include.
- Index(es):