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? Link to comment https://forums.phpfreaks.com/topic/150549-solved-check-if-shorts-tags-are-on-in-ini-file/ 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 } Link to comment https://forums.phpfreaks.com/topic/150549-solved-check-if-shorts-tags-are-on-in-ini-file/#findComment-790747 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.