Go Back   Web Hosting UK Forums | Linux Windows Dedicated Server and cPanel VPS Hosting Forum > Sales > WebHosting UK Services

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 06-29-2007, 05:30 AM
kev woodman's Avatar
Premium Member
 
Join Date: Jul 2006
Location: Newport, Wales, UK.
Posts: 1,494
Default Why has PHP short tags been enabled?

I've recently come across a problem on my sites hosted here where every page fails to render with a

Parse error: syntax error, unexpected T_STRING

error on line 1.

Line one is actually the correct xml declaration and the reason that this error is showing is that php_short_tags has been turned on in the php.ini file. Can someone tell me why this has been done and whether it can be switched off? If it can't you had better warn people using the correct W3C syntax that their XML declaration will need to be written as a PHP statement.
__________________
homo sum: humani nil a me alienum puto ... ( just Google it )
Reply With Quote
Reply

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 On
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 02:57 AM.
Copyright 2002-2007 WebHosting.uk.com. All rights reserved.
Web Hosting UK Forum