Quote:
Originally Posted by markusn00b
On line 3 of magpie_simple_2.php you have output something to the browser.
Post your code and we'll have a look see :)
Actually I have a widget inside which Im displaying the o/p from the php script which worked good for static case and giving this error when I tried to make it dynmic by refreshing.On line 3 I ve defined the style of the widget.
code snippets:
<html>
<head>
<style>--- line no : 3
.widget{
width: 300;
min-height: 50px;
border: 1px solid #CACACA;
background-color: #FFFFFF;
}
.....
.....
....
<body>
<div id='widget1' class='widget'.....
......
......
<?php
if($_GET['var'])
{
$var = $_REQUEST['var'];
}
$url = "http://rss/magpierss/$var.xml";
define('MAGPIE_DIR', 'c:\\rss\\magpierss\\');
require_once(MAGPIE_DIR.'rss_fetch.inc');
header("Cache-Control: no-cache, must-revalidate");
header("Expires: Mon, 26 Jul 1997 05:00:00 GMT");
header("refresh: 5; $url");
...
....
.....
?>
</div>
</body>
</html>
Need help ASAP