Quote:
Originally Posted by ragtek
Be sure that there's nothing before <?php
|
Yes, I double checked it but it still remains. I suspect that affected by server programs. When I logged there is no problem. It is only just for guest than member logged.
I create new my.php file. and do define this scripts refer to template files.
Regards.
--------------- Added [DATE]1258599895[/DATE] at [TIME]1258599895[/TIME] ---------------
Quote:
Originally Posted by cory_booth
Replace the line:
require_one ./gobal
With:
PHP Code:
$curdir = getcwd ();
chdir('/yourpath/to/site/public_html/forum');
require_once('/yourpath/to/site/public_html/global.php');
chdir ($curdir);
Will allow you to put the php files anywhere on the site (i.e. mydomain.com/pages/)
|
Thanks. I do put it the same path with vB. When I trial as logged it's run very well.