I'm not sure how I would be able to do this. The header that is giving me my first error, is in the index. Here is line 13 of index.php that is giving me the first error:
<ul> (line 13)
<li><a href="#">Affiliates</a></li>
<li><a href="#">Sign Up</a></li>
<li><a href="#">Sign In</a></li>
<li><a href="#">News</a></li>
<li><a href="#">Home</a></li>
</ul>
But the second error is coming from my phproxy.class.php. Here is where the other error/errors occur:
[QUOTE]setcookie('flags', $flags, time()+(4*7*24*60*60), '', $this->http_host);
$this->flags['include_form'] = $flags{0} == 1 ? 1 : 0; [B](line 627)[/B]
$this->flags['remove_scripts'] = $flags{1} == 1 ? 1 : 0;
$this->flags['accept_cookies'] = $flags{2} == 1 ? 1 : 0;
$this->flags['show_images'] = $flags{3} == 1 ? 1 : 0;
$this->flags['show_referer'] = $flags{4} == 1 ? 1 : 0;
$this->flags['rotate13'] = $flags{5} == 1 ? 1 : 0;
$this->flags['base64_encode'] = $flags{6} == 1 ? 1 : 0;
$this->flags['strip_meta'] = $flags{7} == 1 ? 1 : 0;
$this->flags['strip_title'] = $flags{8} == 1 ? 1 : 0;
$this->flags['session_cookies'] = $flags{9} == 1 ? 1 : 0;[/QUOTE]
I don't think I know enough to try to reorganize the code. I'm confused because the header is in another file and its not in php format so I don't know how I would be able to put the setcookie ahead of it.