...

View Full Version : enable short tags



david mccarthy
03-03-2008, 12:35 PM
Hi all -

I have a code snippet, which on running gives me an error messge saying

"Short tags are disabled. The script won't work. Please enable short tags and refresh this page".

How can I rectify this problem?

abduraooft
03-03-2008, 12:44 PM
Find your php.ini file in the apache directory and change short_open_tag = On
, but it is not considered as a good practice for portable/redistributable code.

david mccarthy
03-03-2008, 12:52 PM
Thanks -

Will just switch on while in test.

Dave



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum