View Full Version : enable short tags

david mccarthy
03-03-2008, 01: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?

03-03-2008, 01: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, 01:52 PM
Thanks -

Will just switch on while in test.