How do I turn off short open tags?

To disable short opening tags, you need to add the following code to your .htaccess file:

php_value short_open_tag 0

  • 141 Users Found This Useful
Was this answer helpful?

Related Articles

Help, the cron is not working

If you run a job through PHP, for example php -f /home/username/public_html/file.php and you...

Images are not showing on my site

Please make sure the images are uploaded to the server. Check that the HTML paths are correct....

Got an error about an outdated MySQL version?

When connecting the site to the database, an error occurred telling us that the MySQL version is...

How to fix content encoding error?

If your site shows content encoding error it may be due to GZIP compression.Try to enable or...

Help, my site has been hacked!

If your account has been hacked, be sure that this is not related to the security of the server....