Windows XAMPP not interpreting unix edited php files
Posted: 18. March 2010 23:49
Hello everyone!
I have a MAMP installation on my mac where I developed some php apps using
textmate (unix format an LF endings). In every "head" file I always start with
<?php but in the next lines I use <? only. Every thing works fine on the mac
but when I transfer the file to a pc with windows XAMPP it seems that it can't
interpret those rigth. If I change every <? to <?php then it works on windows.
Does anybody has any other easier solution?
Best Regards
I have a MAMP installation on my mac where I developed some php apps using
textmate (unix format an LF endings). In every "head" file I always start with
<?php but in the next lines I use <? only. Every thing works fine on the mac
but when I transfer the file to a pc with windows XAMPP it seems that it can't
interpret those rigth. If I change every <? to <?php then it works on windows.
Does anybody has any other easier solution?
Best Regards