Posted by jonKushner@gmail.com on 01/06/08 20:31
On Jan 6, 12:24 pm, Jonas Werres <jo...@example.org> 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();
Navigation:
[Reply to this message]
|