Problems with the Windows version of XAMPP, questions, comments, and anything related.
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?
- Posts: 3
- Joined: 23. February 2010 23:06
<?php is the correct and recommend start tag for php blocks. The short tag <? can be a little bit tricky to work with XML side by side.
If you really know, that you don't need XML for your projects you can activate "short_open_tag" in the php.ini. But i recommend you to do not.
We don't provide any support via personal channels like PM, email, Skype, TeamViewer!It's like porn for programmers
- AF Moderator
- Posts: 8248
- Joined: 17. August 2009 13:05
- XAMPP version: several
- Operating System: Windows 10 Pro x64
Return to XAMPP for Windows
Who is online
Users browsing this forum: No registered users and 52 guests