RE: [PHP] Unusual HTTP header control

2002-11-16 Thread Brendon G
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:[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
  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.
   [EMAIL PROTECTED]
   ICQ: 79293356




-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




RE: [PHP] Unusual HTTP header control

2002-11-16 Thread Morgan Hughes
On Sun, 17 Nov 2002, Brendon G wrote:

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

  Possibly, but the rest of the script works well...  And I've got more
  experience feeding files back with PHP, and letting PHP do the heavy
  lifting for me... ^_^

-- 
   Morgan Hughes
   C programmer and highly caffeinated mammal.
   [EMAIL PROTECTED]
   ICQ: 79293356



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php