I am trying to send the big string ( file )through text box and when I copy and paste whole file to text box it takes only first line of string.
so, I don't know what do I need to change,
do I need to strip off carraige return ?? how??
It works fine for first line
Thanks for help
Here is sample code,
"form.htm"
<FORM ACTION = "test.php" METHOD=POST>
<input type = "text" name = "text" size = 45></td>
<input type = "Submit" value = "Submit" name ="B1" >
<input type = "Reset" value = "Reset" name ="B2"></td>
"test.php"
<?php
include "classCodeHighLighter.php";
$codeHigh = new codeHighLighter();
$filename = $HTTP_POST_VARS["text"];
$filetwo = "list.txt";
$codeHigh->highLighter($filename, $filetwo);
?>