Justtechjobs.com Find a programming school near you






Online Campus Both


php3-list | 200002

[PHP3] Extra Headers in PHP4 From: Cameron Taggart (ctaggart <email protected>)
Date: 02/20/00

Environment = Win98 + Apache 1.3.9 + PHP 4.0 b3

I keap on getting a couple of headers that show up on the webpage when
viewed in my web browser (IE 5). The HTML starts off like this...

X-Powered-By: PHP/4.0b4
Content-Type: text/html

<html>
<head>
<title>test page</title>
</head>

How can I get rid of those headers? Why are they there?

Also, should Apache's httpd.conf refer to "php" or "php4"?

A)

ScriptAlias /php/ "c:/Program Files/php-4.0b4-Win32/"
Action application/x-httpd-php "/php/php.exe"
AddType application/x-httpd-php .php

B)

ScriptAlias /php4/ "c:/Program Files/php-4.0b4-Win32/"
Action application/x-httpd-php "/php4/php.exe"
AddType application/x-httpd-php .php

Thanks,
Cameron Taggart

-- 
PHP 3 Mailing List <http://www.php.net/>
To unsubscribe, send an empty message to php3-unsubscribe <email protected>
To subscribe to the digest, e-mail: php3-digest-subscribe <email protected>
To search the mailing list archive, go to: http://www.php.net/mailsearch.php3
To contact the list administrators, e-mail: php-list-admin <email protected>