note 25500 added to function.fopen

From: Date: Thu, 26 Sep 2002 03:15:55 +0000
Subject: note 25500 added to function.fopen
Groups: php.notes 
Request: Send a blank email to php-notes+get-37256@lists.php.net to get a copy of this message
fopen may not be used on a shoutcast server to connect to web XML stats (http://localhost/admin.cgi?pass=password&mode=viewxml&page=0). In order to connect, you must use fsockopen, and include "User-Agent: Mozilla" as part of your http query. This is not on the online documentation for shoutcast (as of right now), and can only be found in the README file in the shoutcast directory. "Your XML parser MUST send a User-Agent: HTTP header containing the word "Mozilla" in order for the DNAS to recognize it as something other than a listener." -- http://www.php.net/manual/en/function.fopen.php http://master.php.net/manage/user-notes.php?action=edit+25500 http://master.php.net/manage/user-notes.php?action=delete+25500 http://master.php.net/manage/user-notes.php?action=reject+25500

« previous php.notes (#37256) next »