Quote:
Originally Posted by nerbert
Bad syntax. Try:
require_once('./global.php');
also put this in your code:
ini_set('display_errors', '1'); Then your syntax errors should show
|
Good call - I agree, I forgot that by default the errors aren't displayed (I put display_errors = On in my php.ini long ago...Edit: on my test forum - you don't want to do that on your live forum). But just for the record, there's nothing wrong with the syntax in the OP.