divadiva Posted March 9, 2009 Share Posted March 9, 2009 This is my php.ini file register_globals = off allow_url_fopen = off expose_php = Off max_input_time = 60 variables_order = "EGPCS" extension_dir = ./ upload_tmp_dir = /tmp precision = 12 SMTP = relay-hosting.secureserver.net url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=,fieldset=" [Zend] zend_extension=/usr/local/zo/ZendExtensionManager.so zend_extension=/usr/local/zo/4_3/ZendOptimizer.so If I add asp_tags, will this work? asp_tags = On Thanks in advance for suggestions. Best Diva Link to comment https://forums.phpfreaks.com/topic/148652-solved-how-to-turn-on-the-asp_tags-in-phpini/ Share on other sites More sharing options...
PFMaBiSmAd Posted March 9, 2009 Share Posted March 9, 2009 Don't use or enable asp tags for php. They have been completely removed in php6. Link to comment https://forums.phpfreaks.com/topic/148652-solved-how-to-turn-on-the-asp_tags-in-phpini/#findComment-780603 Share on other sites More sharing options...
divadiva Posted March 9, 2009 Author Share Posted March 9, 2009 I am using PHP 5 which does have asp_tags = off Link to comment https://forums.phpfreaks.com/topic/148652-solved-how-to-turn-on-the-asp_tags-in-phpini/#findComment-780605 Share on other sites More sharing options...
PFMaBiSmAd Posted March 9, 2009 Share Posted March 9, 2009 If you use asp style tags in your code, you will need to rewrite your code for it to work when php5 is stopped being used. It is never a good idea to use a feature that has been depreciated and is being removed. Link to comment https://forums.phpfreaks.com/topic/148652-solved-how-to-turn-on-the-asp_tags-in-phpini/#findComment-780607 Share on other sites More sharing options...
redarrow Posted March 9, 2009 Share Posted March 9, 2009 forget it use the proper way <?php ?> your doing php not asp now. Also remember most php tutorials don't use short tags. short tags are classed as bad programming lol know that you are using the best programming language in the world, It best to use, non short tags and get use to it, as you progress in php coding your want others to debug and use your codes. Link to comment https://forums.phpfreaks.com/topic/148652-solved-how-to-turn-on-the-asp_tags-in-phpini/#findComment-780609 Share on other sites More sharing options...
divadiva Posted March 9, 2009 Author Share Posted March 9, 2009 thanks for sugegstions.I will change the tags to php . Link to comment https://forums.phpfreaks.com/topic/148652-solved-how-to-turn-on-the-asp_tags-in-phpini/#findComment-780620 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.