DTP


 
Lively discussions on the graphic arts and publishing — in print or on the web


Go Back   Desktop Publishing Forum > General Discussions > Web Site Building & Maintenance

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Old 06-22-2007, 11:27 AM   #2
Barrie Greed
Member
 
Join Date: May 2006
Location: Stringston, Somerset,UK
Posts: 111
Default Short tags conflict with xhtml

Quote:
Originally Posted by CarlSeiler View Post
What I've found is that if I convert it over to HTML 4.01 with Tidy, and get rid of my <?xml line it works--the server shows the page. Does php not like XHTML with the ?xml at the top?
Basically yes. PHP can be set up to use short tags <? ?> as well as the normal <?php ?>. When you use this with xhtml, PHP trips over the opening <? of the xml definition.

You can turn short tags off in the Language Options section of php.ini.

Barrie Greed
Barrie Greed is offline   Reply With Quote
 

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Bryce 6 (and the Vue product line) Andrew B. Software 1 11-14-2006 07:48 AM
First line and letter formatting Bo Aakerstrom Web Site Building & Maintenance 8 08-24-2006 08:45 AM
Off line for a (short) week iamback The Corner Pub 3 08-10-2006 12:53 PM
Your Driver's License on Line George The Corner Pub 7 11-04-2005 09:32 PM


All times are GMT -8. The time now is 04:27 PM.


Powered by vBulletin® Version 3.8.9
Copyright ©2000 - 2017, vBulletin Solutions, Inc.
Contents copyright 2004–2014 Desktop Publishing Forum and its members.