Multiple language and caching headers

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
alex.barylski
DevNet Evangelist
Posts: 6267
Joined: Tue Dec 21, 2004 5:00 pm
Location: Winnipeg

Multiple language and caching headers

Post by alex.barylski »

I've been browsing the PHP comments for caching and stumbled upon this:

http://ca.php.net/manual/en/function.header.php#57926

Seems you can set the charset using headers, but what about using HTML - which is the prefered method? AC, you likely know?

Anyways, I'm looking for the best method to accomplish:

1) Setting the proper character set for each language the application is ported to
2) The proper (cross browser) header parameters for preventing caching. It appears everyone has a different way of doing it, is there a well known source that keeps track of which headers work in most of todays browsers?

Cheers :)
Post Reply