PHP + Linux: Configuration?

From: Date: Thu, 03 Jul 2003 11:21:33 +0000
Subject: PHP + Linux: Configuration?
Groups: php.general 
Request: Send a blank email to php-general+get-153861@lists.php.net to get a copy of this message
Hello list, I have a problem using php in linux. I´m using the code bellow: html code: <form name="texto" METHOD="POST" ACTION="a.php"> <textarea name="teste" cols="120" rows="10" wrap="OFF"></textarea> <p><input name="Enviar" type="submit"></p> </form> php code <?php $tmp= $HTTP_POST_VARS['teste']; $linhas = split("\n", $tmp); printf ("Nro de linhas = %d<br>",count($linhas)); ?> If I repeat the line bellow 100 times and put this in a textarea, the php code returns that there are 154 lines. teste.com.br::Teste variaveis::teste::teste::dfasfafasdfafasdfasfas::11::11::ativo::teste.do.teste I´ve made this test using the versions: php-4.2.2-17 php-4.3.2-3 Using FreeBSD, I don´t have the error with the same code. (php-4.3.1) Any ideia? Thanks in advance, Luiz.

« previous php.general (#153861) next »