--- Anthony <[EMAIL PROTECTED]> wrote: > This isn't necessarily PHP specific, but I'm looking for more > information on HTTP headers. I'd like to know what headers I > should send and why.
That is an admirable desire, and I wish more developers sought the same knowledge. You can learn more about HTTP by reading the RFC itself (RFC 2616, though several others describe extensions to the protocol), or you can get one of the few books on the topic. O'Reilly has a pocket reference for under $10, and I wrote one that is heavily slanted toward PHP developers called HTTP Developer's Handbook (http://httphandbook.org/). > I want my code to send out w3c compliant HTML. This is a different matter altogether. HTML and HTTP are very different things. > I'm confused on exactly what headers do, and the difference > between HTTP headers and information contained within the > <HEAD> tag. As mentioned above, HTTP and HTML are entirely different. The head tag is HTML. I think as soon as you look into HTTP and how it fits into the bigger picture, you will understand. You will also gain a deeper understanding about the difference between server-side and client-side scripts, how cookies really work, and things like that. Chris ===== Become a better Web developer with the HTTP Developer's Handbook http://httphandbook.org/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php