Xu Wei Jie Posted March 22, 2009 Share Posted March 22, 2009 AS the title says everything, how do I program a script to detect if parsing of shorts tags are on? If short tags are on, does it mean both short tags and the normal php+ tags are accepted by parser? Quote Link to comment Share on other sites More sharing options...
MadTechie Posted March 22, 2009 Share Posted March 22, 2009 if short tags are on then <? is allowed <?php is always allowed if(ini_get("short_open_tag")) { //short tags are on } Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.