Code: Select all
Warning: Cannot modify header information - headers already sent by (output started at /home/content/88/5410988/html/hhlinks/cb/index.php:8) in /home/content/88/5410988/html/hhlinks/cb/facebook.php on line 397
Warning: Cannot modify header information - headers already sent by (output started at /home/content/88/5410988/html/hhlinks/cb/index.php:8) in /home/content/88/5410988/html/hhlinks/cb/facebook.php on line 397
Warning: Cannot modify header information - headers already sent by (output started at /home/content/88/5410988/html/hhlinks/cb/index.php:8) in /home/content/88/5410988/html/hhlinks/cb/facebook.php on line 397
Warning: Cannot modify header information - headers already sent by (output started at /home/content/88/5410988/html/hhlinks/cb/index.php:8) in /home/content/88/5410988/html/hhlinks/cb/facebook.php on line 401Code: Select all
<?php
ob_start();
require_once 'facebook.php';
$appapikey = 'XXXXXXXXXXXXXXXXXXXXXXXXXXX';
$appsecret = 'XXXXXXXXXXXXXXXXXXXXXXXXXXXX';
$facebook = new Facebook($appapikey, $appsecret);
$user_id = $facebook->require_login();
ob_end_flush();
?>Code: Select all
ob_start();
foreach ($cookies as $name => $val) {
setcookie($this->api_key . '_' . $name, $val, (int)$expires, '', $this->base_domain);
$_COOKIE[$this->api_key . '_' . $name] = $val;
}
$sig = self::generate_sig($cookies, $this->secret);
setcookie($this->api_key, $sig, (int)$expires, '', $this->base_domain);
$_COOKIE[$this->api_key] = $sig;
ob_end_flush();Code: Select all
<fb:swf swfsrc="http://www.hhlinks.net/CB2.swf" swfbgcolor="#000000" wmode = "opaque" width="500" height="500" imgsrc="http://www.hhlinks.net/cb/logo.jpg" width='600' height='570' />