Thread: Headers
View Single Post
  #3 (permalink)  
Old October 10th, 2003, 02:21 PM
nikolai nikolai is offline
Friend of Wrox
Points: 2,570, Level: 21
Points: 2,570, Level: 21 Points: 2,570, Level: 21 Points: 2,570, Level: 21
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jun 2003
Location: San Diego, CA, USA
Posts: 836
Thanks: 0
Thanked 0 Times in 0 Posts
Default

You can send new HTTP headers using the header() function:
  http://www.php.net/header

You can suppress the X-Powered-By: PHP/<version> header in PHP.ini. The only other header sent by PHP is the Content-Type header, and though you can change the default mime-type to whatever you want, I don't think you should. It's set to "text/html" by default.



Take care,

Nik
http://www.bigaction.org/