mbowling Posted August 24, 2007 Share Posted August 24, 2007 Hi, I'm trying to use the shortcut <? to begin a php code block in IIS but I can't get it to work. It works fine in Apache. This works: <?php echo $color?> But this doesn't work: <? echo $color?> I know that using <? is not the preferred way to begin a php code block but to satisfy my personal curiosity I would like to know how to make it work in IIS. Thanks Quote Link to comment Share on other sites More sharing options...
Jessica Posted August 24, 2007 Share Posted August 24, 2007 Short Tags is an ini setting. You need to enable it in your php.ini file. 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.