Malformed header from script. Bad header

Материал из Wiki - Iphoster - the best ever hosting and support. 2005 - 2024
Перейти к:навигация, поиск
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

Ошибка:

malformed header from script. Bad header


Решение - добавить в код перед print:

#!/bin/perl
print "Content-Type: text/html\n\n";
print "Hello boy!\n";