Free Advertising Forums | Free Advertising Board | Post Free Ads Forum | Free Advertising Forums Directory | Best Free Advertising Methods | Advertising Forums

Free Advertising Forums | Free Advertising Board | Post Free Ads Forum | Free Advertising Forums Directory | Best Free Advertising Methods | Advertising Forums (http://www.freeadvertisingzone.com/index.php)
-   MLM and Network Marketing Ads: (http://www.freeadvertisingzone.com/forumdisplay.php?f=45)
-   -   Windows 7 Starter XHTML, http accept-header and mi (http://www.freeadvertisingzone.com/showthread.php?t=944127)

there842 03-19-2011 11:26 PM

Windows 7 Starter XHTML, http accept-header and mi
 
File A: XHTML one.1 employing mime-type applicationxhtml+xml The XML declaration:<?xml version="1.0" encoding="utf-8"?> The DTD for XHTML 1.1:<,Windows 7 Starter!DOCTYPE html PUBLIC "-W3CDTD XHTML one.1EN" ""> File B:XHTML one.0 Strict working with mime-type texthtml The DTD for XHTML 1.0 Strict:<,Office 2010 Pro Plus Key!DOCTYPE html PUBLIC "-W3CDTD XHTML one.0 StrictEN" ""> In the head section of the document:<meta http-equiv="Content-Type" content="texthtml; charset=utf-8" > private void testHTTPaccept(string filename) { if(Request.ServerVariables["HTTP_ACCEPT"] ,Windows 7 Home Basic Product Key!= null) { string accept = Request.ServerVariables["HTTP_ACCEPT"]; if(accept.ToLower().IndexOf("applicationxhtml+xml" ) ,Office 2007 Pro Key!= -1) Response.ContentType = "applicationxhtml+xml"; Response.WriteFile("" + filename + "_a.html"); Response.End(); else Server.Transfer("" + filename + "_b.html"); } else Response.ContentType = "applicationxhtml+xml"; Response.WriteFile("" + filename + "_a.html"); Response.End(); }


All times are GMT. The time now is 09:39 AM.

Powered by vBulletin Version 3.6.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Free Advertising Forums | Free Advertising Message Boards | Post Free Ads Forum