开发者

Zend Studio formats txt-sources after upload

开发者 https://www.devze.com 2023-04-07 18:02 出处:网络
Zend Studio formats txt-sources after upload. for Ex: &l开发者_如何学运维t;?php echo \'test\'; echo \'test\';

Zend Studio formats txt-sources after upload.

for Ex:

&l开发者_如何学运维t;?php 
echo 'test';
echo 'test';
echo 'test';
?>

after upload this source code looks like:

<?php

echo 'test';

echo 'test';

echo 'test';

?>


Check the file line delimiter option. In both Zend Studio and Eclipse it should be in Windows->Preferences->General->Workspace

If you use unix-like server you should use:

  • text file encoding: utf-8
  • new text file line delimiter: unix

Adjust the settings based on the server your script will woork and not on the machine you are developing.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号