executing php code onto another server needs <?php
772
I have copied some code from one Linux server to my windows machine.
When i execute it i have to put <?php instead of <? for the code to run ???
is there any way to change this in wondows ?
Change the short_open_tag directive in your php.ini file to On and restart your web server.
As Zoredache pointed out, for greatest compatibility you should always use <?php tags in your own code, and lobby developers who use short tags to do it properly and stop being lazy.
Change the
short_open_tag
directive in your php.ini file toOn
and restart your web server.As Zoredache pointed out, for greatest compatibility you should always use
<?php
tags in your own code, and lobby developers who use short tags to do it properly and stop being lazy.