Boston Linux & UNIX was originally founded in 1994 as part of The Boston Computer Society. We meet on the third Wednesday of each month, online, via Jitsi Meet.

BLU Discuss list archive


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Discuss] Please help with a PHP and/or Apache2 problem



On 2/7/2021 1:13 PM, Alex Pennace wrote:
> try this:
>
> <?php
> header('Content-Type: text/html; charset=ISO-8859-1');
> include "[redacted]/archives/back.issues/recent.single.issues/V40-38";
> ?>


Alex, that cured the problem. THANK YOU for you help and expertise.

The archived html file contains a line which I thought would send the 
same info:

<html>

	<head>

	<META HTTP-EQUIV="Content-Type" CONTENT="text/html;charset=iso-8859-1">

Please tell me if the use of "META" tags is deprecated, and why it works 
on files which aren't included via PHP code. I'd also like to know where 
the "utf-8" response from Apache2 is set.

Thank you again!

Bill





Valid HTML 4.01! Valid CSS!



Boston Linux & Unix / webmaster@blu.org