Sometimes when we don't have access to modify configurations on server like in php.ini file and we still need to enable short tags for our php code. We can do it by .htaccess file. If you have not created any .htaccess file yet, create one in root directory of your website and add
Now if you want to enable that using php.ini and if you can...
just set
Enjoy!!
-Ravi Kumar Gupta
php_value short_open_tag 1That's it for .htaccess file.
Now if you want to enable that using php.ini and if you can...
just set
short_open_tag=Onin php.ini at server and you are done.. :D
Enjoy!!
-Ravi Kumar Gupta