m_cmdprog = "/var/www/vendetta-clan.com/vent/ventrilo_status"; // Adjust accordingly. $stat->m_cmdcode = "2"; // Detail mode. $stat->m_cmdhost = "202.60.94.172"; // Assume ventrilo server on same machine. $stat->m_cmdport = "3817"; // Port to be statused. $stat->m_cmdpass = ""; // Status password if necessary. $rc = $stat->Request(); if ( $rc ) { echo "CVentriloStatus->Request() failed. $stat->m_error

\n"; } // Create a web link for this server. Please note that the status password // is not the same thing as a servers global logon password. This is why the // example doesn't add one. /* echo "Building a ventrilo:// web link from the supplied information. \n"; echo "Please note that if the retrieved server name has spaces in it then anything following them \n"; echo "will not show up in the client. This is a client side issue. You might use _'s in server names "; echo "instead until the problem is fixed.

\n"; $weblink = "ventrilo://$stat->m_cmdhost:$stat->m_cmdport/servername=$stat->m_name"; echo "
Click here to connect to the following server.


\n"; */ /* // Server basic info. echo "Basic information about the server using VentriloInfoEX1.

\n"; echo "
\n"; VentriloInfoEX1( $stat ); echo "
\n"; */ /* // Server channels/users info. echo "
Channel and user info using VentriloDisplayEX2.

\n"; echo "
\n"; echo "
\n"; $name = ""; VentriloDisplayEX2( $stat, $name, 0, 0 ); echo "
\n"; */ /* echo "
Channel and user info using VentriloDisplayEX1.

\n"; */ /* Use this if you prefer the first channel name to look more like a ventrilo client display where the first entry is the server name followed by it's comment. $name = $stat->m_name; if ( strlen( $stat->m_comment ) ) $name .= " ($stat->m_comment)"; */ $name = ""; //echo "
\n"; echo "
\n"; VentriloDisplayEX1( $stat, $name, 0, 0 ); echo "
\n"; echo ""; ?>