Our server costs ~$56 per month to run. Please consider donating or becoming a Patron to help keep the site running. Help us gain new members by following us on Twitter and liking our page on Facebook!
Current time: April 27, 2024, 7:18 pm

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
OK Time to do some web developing...
#7
RE: OK Time to do some web developing...
(July 3, 2013 at 6:44 pm)Moros Synackaon Wrote: XHTML should not be served with HTTP Response Content-Type text/html.
That's correct. View the site using any XHTML-compatible browser and it will load as application/xhtml+xml. You can also force the output with ?xhtml.

PHP Code:
$usehtml=(stripslashes($_SERVER['QUERY_STRING'])=='html');
$usexhtml=(stripslashes($_SERVER['QUERY_STRING'])=='xhtml');
if(!
$usehtml && !$usexhtml){$usexhtml=stristr($_SERVER['HTTP_ACCEPT'],'application/xhtml+xml');} 

For instance:

http://scummgames.com/?html (Force send as text/html)
http://scummgames.com/?xhtml (Force send as application/xhtml+xml)

XHTML has the advantage of loading large pages very quickly since it's a more simplified language compared with HTML. The Wordpress skin was already coded as XHTML, so I've simply kept that - while making it compliant.
For Religion & Health see:[/b][/size] Williams & Sternthal. (2007). Spirituality, religion and health: Evidence and research directions. Med. J. Aust., 186(10), S47-S50. -LINK

The WIN/Gallup End of Year Survey 2013 found the US was perceived to be the greatest threat to world peace by a huge margin, with 24% of respondents fearful of the US followed by: 8% for Pakistan, and 6% for China. This was followed by 5% each for: Afghanistan, Iran, Israel, North Korea. -LINK


"That's disgusting. There were clean athletes out there that have had their whole careers ruined by people like Lance Armstrong who just bended thoughts to fit their circumstances. He didn't look up cheating because he wanted to stop, he wanted to justify what he was doing and to keep that continuing on." - Nicole Cooke
Reply



Messages In This Thread
OK Time to do some web developing... - by Aractus - June 23, 2013 at 1:32 am
RE: OK Time to do some web developing... - by Mystical - June 23, 2013 at 1:51 am
RE: OK Time to do some web developing... - by Kayenneh - June 23, 2013 at 10:34 am
RE: OK Time to do some web developing... - by Aractus - June 24, 2013 at 5:06 am
RE: OK Time to do some web developing... - by Aractus - July 2, 2013 at 7:37 am
RE: OK Time to do some web developing... - by Aractus - July 4, 2013 at 4:11 am

Possibly Related Threads...
Thread Author Replies Views Last Post
  The Web SimpleCaveman 24 979 January 9, 2024 at 5:29 pm
Last Post: brewer
  [Serious] Coronavirus plotting on a web map WinterHold 6 1051 May 26, 2021 at 5:29 pm
Last Post: BrianSoddingBoru4
  bots and the change of the web. WinterHold 29 2460 June 20, 2020 at 11:26 am
Last Post: Abaddon_ire
  How to make a "span" across the diagonal of a web-page? FlatAssembler 6 973 May 26, 2020 at 2:54 pm
Last Post: Abaddon_ire
  Solar System simulation: my latest web app. WinterHold 8 1017 February 7, 2020 at 2:49 pm
Last Post: WinterHold
  [Serious] Multiple Sclerosis Map: my latest web project WinterHold 22 2979 October 4, 2019 at 10:02 am
Last Post: WinterHold
  Is front-end web development dying? WinterHold 18 1523 September 10, 2018 at 12:28 am
Last Post: KevinM1
  Welcome to McAfee Web Advisor popups... Rev. Rye 5 3050 June 4, 2017 at 5:31 pm
Last Post: Jackalope
  Question for Those of You Wwho Use Mobile Web Devices (iPhones, Smart Phones, etc.) Rhondazvous 26 4306 July 24, 2015 at 4:25 pm
Last Post: IATIA
  Advice Sought for Web Programming AFTT47 13 3288 April 4, 2015 at 10:41 pm
Last Post: bennyboy



Users browsing this thread: 1 Guest(s)