Dondxon
07-24-2012, 09:57 PM
hey!
im using a login session on my page which is not on the forums. and to do that i have to require this:
<?php
chdir('./vb');
require_once('./global.php');?>
but if i do that it Unable to add cookies, header already sent on line 2. because i always put that code on top of the page.
where do i have to put that code to prevent that message?
if you can help i would really appreciate it. a whole community is waiting for it!
Dondxon.
im using a login session on my page which is not on the forums. and to do that i have to require this:
<?php
chdir('./vb');
require_once('./global.php');?>
but if i do that it Unable to add cookies, header already sent on line 2. because i always put that code on top of the page.
where do i have to put that code to prevent that message?
if you can help i would really appreciate it. a whole community is waiting for it!
Dondxon.