Not that I've ever used them but wouldn't Sockets be a good place to start?



-----Original Message-----
From: Morgan Hughes [mailto:[EMAIL PROTECTED]]
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

  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.
   ICQ: 79293356

PHP General Mailing List (
To unsubscribe, visit:

PHP General Mailing List (
To unsubscribe, visit:

Reply via email to