PHP problems when transfering code from Windows to OS X

前端 未结 3 1725
野的像风
野的像风 2021-01-17 02:44

I have recently bought a new MacBook Pro. Before I had my MacBook Pro I was working on a website on my desktop computer. And now I want to transfer this code to my new MacBo

3条回答
  •  醉话见心
    2021-01-17 03:18

    Check if there are spaces in front of your php opening tag. Also try resaving the file from notepad++ using the windows (crlr) line endings. (Edit > EOL Conversion > Windows format)

提交回复
热议问题