segunda-feira, 3 de junho de 2024

PHP header_remove

 If you are using this and do not have access to php,ini:

Se vc esta usando a linha abaixo e não tem acesso ao php.ini:

#!/usr/local/bin/php


You can add "-q" at the end of it and the headers will be removed, beacuse header_remove will not remove "Content-type"


Adicione "-q" no final que os headers não serão adicionados, header_remove não remove o Content-Type


#!/usr/local/bin/php -q

Nenhum comentário:

Postar um comentário

Linux bash file returns unexpected token `$'do\r''

open file in vi edit with   vi filename.sh   command; type in vi  :set ff=unix  command; save file with  :wq It will save the file with unix...