Overview
It is always best to avoid doing development work on a production server. if you get a forever loop in there, you might get your account in trouble. here's how to install a development server. sorry folks, I was wrong about servers. don't install one. they only transmit over the internet, even on 127.0.0.1 I found out (took me a long time to figure out how to find out, checking router outgoing logs) - I had thought that localhost kept everything on localhost local. it doesn't.
just be careful about avoiding forever loops and infinite recursion in your php files when you upload to the hosting, because it can take down your site and everybody else's.
XHTML support
you can also put this in your file on your hosting.
by default, XHTML will be served up as HTML. what you will get is "tag soup" and improper rendering. you must modify httpd.conf .htaccess according to this article:
comment out a certain set of mod rewrite rules:
#RewriteEngine on
#RewriteCond %{HTTP_USER_AGENT} ((.*MSIE.*)|(Lynx.*))
#RewriteCond %{REQUEST_URI} \.xhtml$
#RewriteRule .* - [T=text/html]
add this:
#handle XHTML properly
AddType application/xhtml+xml;q=0.8 .xhtml
DirectoryIndex index.xhtml index.html
<IfModule mod_rewrite.c>
RewriteEngine on
# Uncomment RewriteBase line if adding inside per-directory
# configuration files (e.g., .htaccess):
# RewriteBase /
RewriteCond %{REQUEST_URI} \.xhtml$
RewriteCond %{HTTP_USER_AGENT} MSIE [OR]
RewriteCond %{HTTP_ACCEPT} application/xhtml\+xml\s*;\s*q=0\.?0*(\s|,|$)
RewriteRule .* - [T=text/html]
</IfModule>