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

How can I turn off PHP error output?

To disable error output in your script, use: error_reporting (0); Remember that you need to...

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...

My Wordpress has been hacked, how do I reset my admin password?

If your Wordpress password has been changed to an unknown value, you can always change it by...

I can see the old site content after uploading new files

Most likely, your browser keeps old copies in the cache for fast loading of your site. You need...

Domain does not work with "www"

If you cannot access your site using your domain without “www”. (Example.com) but with "www." it...