Author: J.Yard2 (25 Nov 08 11:48pm)
Need to provide the honey pot with Virtual('honeypot1.php) function, but getting the following warnings, after which the honey pot displays. Anyway around this, other than include or require functions? Can I modify the honeypot1.php to eliminate the warnings?
Warning: Cannot modify header information - headers already sent in blah/honeypot1.php on line 330
Warning: Cannot modify header information - headers already sent by (output started at /blah/honeypot1.php:330) in /blah/honeypot1.php on line 331
FILE: honeypot1.php <<<<<< LINE 330 >>>>>>>
function transcribeResponse(& $response) {
$settings = NULL;
$arr = explode("\n",$response);
$isParam = FALSE;
for ($i=0;list(,$v)=each($arr);$i++) {
if ($v == "<END>") $isParam = FALSE;
if ($isParam) {
$pieces = explode("=",$v,2);
$settings[$pieces[0]] = urldecode($pieces[1]);
}
if ($v == "<BEGIN>") $isParam = TRUE;
}
if ($settings["directives"]) {
$settings["directives"] = explode(",",$settings["directives"]);
} <<<<<< This is Line 330 >>>>>>>
return $settings;
}
Post Edited (26 Nov 08 1:45am)
|