Channel Userlist
"Kajutsa" <kajutsa-Fft2buPdM/[email protected]>
| Newsgroups | gmane.network.irc.blitzed.web |
|---|---|
| Message-ID | <000801c3c297$d98e55a0$be00a8c0@cardose1> |
<?php
$listfile = fopen("http://blitzed.org/scripts/chanuserlist/?channel=%23channel&pass=pass", "r");
echo "<p>The people currently on the chat:<p>\n";
echo "<ul>\n";
$nickname = fgets($listfile);
while (trim($nickname) != "") {
echo "<li>" . trim($nickname) . "</li>\n";
$nickname = fgets($listfile);
}
echo "</ul>";
fclose($listfile);
?>
I tried this php-code, and yes, i've changed the second line but it doesn't work...
Warning: Wrong parameter count for fgets() in /home/httpd/vhosts/chatsquare.nl/httpdocs/index2.php3 on line 105
That's the error that i get...