это надо спрашивать у троянов. а не здесь. здесь совсем другой топик обсуждается.
lol
![Big Grin :D :D](/talk/styles/default/xenforo/smilies/biggrin.png)
)))))))
Вчера тоже уже увидел что пишут:
For files that contain only PHP code, the closing tag ("?>") is never permitted. It is not required by PHP, and omitting it´ prevents the accidental injection of trailing white space into the response.
В тоге, мой код для консоли:
# only for *.php scripts
for i in `find ./ -type f -name \*.php`; do
#replacing \r\n, \n, \r by only \n ; deleting null strings ; deleting string with '?>'
sed 's/[\r\n]//g; /^ *$/d; /?>/d' $i > buffer;
#clearing file for adding new content
echo "" > $i;
#save result
cat buffer > $i;
# clearing buffer
echo "" > buffer;
done
rm buffer