Answer the question
In order to leave comments, you need to log in
Remove spaces and newlines at the beginning of PHP files
The script clumsily worked out the contents of the files and added spaces and newlines in php files to the beginning, before
<? php
part of the scripts does not work because of this, how can I remove this case from under ssh?
Answer the question
In order to leave comments, you need to log in
It is possible through sed, you can stupidly write a script in php - scandir / file_get_contents / trim / file_put_contents
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question