--- Paul Waring <[EMAIL PROTECTED]> wrote:
> > I think you used header() after put out some data or php installed on
> > server as CGI. Because send header possible only if php installed as
> > apache module.
> 
> Not so - I've used header('Location: http://www.xyz.com/'); with PHP
> as a CGI binary under both Apache 1 and Apahce 2 without problems.

Yeah, I think he might have been thinking of this:

"Note: In PHP 3, this only works when PHP is compiled as an Apache 
module. You can achieve the same effect using the  Status header."

Aside from only being an issue a long time ago, it's also talking about
the ability to change the response status code, not just a regular HTTP
header.

Chris

=====
Chris Shiflett - http://shiflett.org/

PHP Security - O'Reilly
     Coming December 2004
HTTP Developer's Handbook - Sams
     http://httphandbook.org/
PHP Community Site
     http://phpcommunity.org/

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

Reply via email to