quale content type è meglio mandare in output al browser?
oppure:codice:print "Content-type: text/html", "\n\n";
grazie!codice:print "Content-type: text/html\; charset=ISO-8859-1", "\n\n";
quale content type è meglio mandare in output al browser?
oppure:codice:print "Content-type: text/html", "\n\n";
grazie!codice:print "Content-type: text/html\; charset=ISO-8859-1", "\n\n";
Usa il primo, in modo che la codifica la possa scegliere o apache o il browser.