Not 100% sure, but isn't $HTTP_POST_VARS depricated?... to lazy to look in the manual right now. You should use $_POST instead. I have no idea if that's causing your problem though :-P
- Anthony "Luiz Morte" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] 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.tes te 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. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php