1
wize_one
what am i doing wrong?
  • 2004/3/16 12:12

  • wize_one

  • Just popping in

  • Posts: 4

  • Since: 2004/3/15


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 ($file1024);
    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?

2
wize_one
Re: what am i doing wrong?
  • 2004/3/16 12:33

  • wize_one

  • Just popping in

  • Posts: 4

  • Since: 2004/3/15


nm got it working.. damn tags

Login

Who's Online

683 user(s) are online (320 user(s) are browsing Support Forums)


Members: 0


Guests: 683


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Jul 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits