RE: [PHP] Unusual HTTP header control
| From: | Brendon G | Date: | Sun, 17 Nov 2002 06:51:09 +0000 |
| Subject: | RE: [PHP] Unusual HTTP header control | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-124775@lists.php.net to get a copy of this message | ||
Not that I've ever used them but wouldn't Sockets be a good place to start?
Cheers
Brendon
-----Original Message-----
From: Morgan Hughes [mailto:kyhm@kyhm.com]
Sent: Sunday, November 17, 2002 4:40 PM
To: PHP General List
Subject: [PHP] Unusual HTTP header control
Hello list, I'm hoping someone can shed some light on a problem I'm
having with the header() function...
I'm building a script to spool MP3 files to Winamp/xmms using the HTTP
protocol. And it works fine, except I want to suppress the normal
"HTTP/1.1 200 OK" header sent by PHP/Apache and instead send "ICY 200
OK", to fool the player into thinking it's listening to a ShoutCast
server...
Does anyone know how to do this? The docs on header() don't mention it,
nor do the user notes... Any ideas? Thanks!
--
Morgan Hughes
C programmer and highly caffeinated mammal.
kyhm@kyhm.com
ICQ: 79293356
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php