1
trying to add a custom block to display info from sourceforge.
in a page by itself:
$file = fopen ("http://sourceforge.net/export/projhtml.php?group_id=92564&mode=full&no_table=0", "r");
if (!$file) {
echo "Unable to open remote file.n"
;
exit;
}
while (!feof ($file)) {
$line = fgets ($file, 1024);
echo $line;
}
fclose($file);
?>
works.
but when i add that to the content area of block creation and set type to php, it doesnt work.
anyone able to help me?